I (radius=r) is the incircle of triangle ABC (right angled at B) and O (radius=R) is another circle which touches the extended side BC and AC. Find the ratio (R/r) if the point of intersection of circles I and O is midpoint of AC.

The required ratio, correct to four places of decimals, is equal to 5.8284.