Solution:Given ABC is a right-angled triangle with the right angle at C.
Let P is the perpendicular from C to AB and it intersects AB at D . Given, the length of the side AB = c, BC = a, CA = b and CD = p .
Area of triangle ABC =
Also, Area of triangle ABC =