Here is a picture to help you out.
By the theorem of chord in a circle we have that,
But,
Thus, we have,[/tex]
Thus,
----------------------
If you know calculus
Thus, you need to find the zero's of the function,
Use Newton's method