Question 1105670
If the sides have length a, b, c, we define the semi-perimeter s to be half their sum, so s = (a+b+c)/2. Given this, the radius is
:
r^2 = (s - a)*(s - b)*(s - c) / s
:
Take the square root of this expression to find r
:
Here we are using Heron's formula to derive the formula for r^2, namely
:
A = s * r
: