The formula for the area of a triangle is A = (1/2) * base * height.