
function e = triarea(c,d)
e = 0.5*(c.* d);