Make Distance based on Height ?

The square of the radius of the circle minus the square of the height = the square of your distance