# Finding inradius given the heights

I'm given the heights of a triangle. Find the inradius. I know that inradius is area/semiperimeter. But then?

Let the area of triangle be $T$, the heights $h_a, h_b, h_c$, and $s$ the semi-perimeter. Then: $$2T = ah_a = bh_b=ch_c$$ $$a = \frac{2T}{h_a}, b = \frac{2T}{h_b}, c = \frac{2T}{h_c}$$ $$a+b+c= 2T(\frac{1}{h_a}+\frac{1}{h_b}+\frac{1}{h_c})$$ $$\frac{s}{T}=\frac{1}{h_a}+\frac{1}{h_b}+\frac{1}{h_c}$$