# Triangle Area

## Triangle Area

Given the height and base length of a triangle, return the area.

triangleArea( 2.0, 2.0 ) => 2.0
triangleArea( 3.0, 4.0 ) => 6.0
triangleArea( 3.0, 5.0 ) => 7.5


### Formula

$$\Large area = \frac{base \times height}{2}$$