compute the inradius of a triangle with sides 4, 7, and 8