Calculating the radius of a circle