human
How do I calculate the area of a triangle?
assistant
To calculate the area of a triangle, you need to use the formula A = (1/2) × b × h, where b is the base of the triangle and h is the height of the triangle.