what is the semiperimeter
In a right triangle, the radius of the excircle on the hypotenuse equals the semiperimeter. The semiperimeter is the sum of the inradius and twice the circumradius. The area of the right triangle is ( s â a ) ( s â b ) {\displaystyle (s-a)(s-b)} where a and b are the legs.