Calculate a triangle's area from its base and height.
A triangle's area is half the product of its base and the height perpendicular to that base.
area = ½ × base × height