d^2 = h^2 + 2 r h
h^2 + 2 r h - d^2 = 0
quadratic
h = [ -2r +/- 2 sqrt(r^2+d^2) ]/2
Formula for distance to the horizon for a satellite in orbit.
d = sqrt(2rh+h^2)
d = distance to the horizon
h = height above sea level for the observer.
r = radius of the earth
----------------------------------
Solve for h.
ie. so I can plug in d and r and get a solution for h.
3 answers
which is
-r +/- sqrt(r^2+d^2)
-r +/- sqrt(r^2+d^2)
LOL - only use positive root if above ground.