Make Distance based on Height ?

Trying to work out what the distance will be away from an object, all I have is the height. As can be see from the picture it also depends on the curvature, the curve is just circular 0 - 90 deg.

Any math wiz out there ?

x^2 + y^2 = r^2

What’s that in dummy terms ?

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

Ok, thanks. Shall have a play.

I can’t be doing this right, the result is way high. What do I do with the square of the distance ?

5th grade math wiz in here, again)

you need square root of square of the distance

Awesome thanks.