(R-h)^2+(\frac{d}{2})^2=R^2 => R= \frac{4h^2+d^2}{8h}