Calculate area of a triangle

We are using the formula 1/2 x base x height to calculate the area of the triangle