r=-\frac{\sqrt{h^2+r^2}}{2}