A circle touches two of the smaller sides of a △ABC(a<b<c) and has its center on the greatest side. The radius of the circle is
A, B and C are the sides of a right triangle where C is the hypotenuse. A circle of radius r touches the sides of the triangle prove that r is equal to a+b−c2.