If now R2 is subtracted from both sides and the remaining terms on the left are rearranged
h(2R + h) = D2
The diameter 2R of the Earth is much bigger than h, and therefore the error introduced if (2R+h) is replaced by 2R is very, very small. Carrying out this replacement gives
2Rh = D2
D = √(2Rh)
where √ stands here for "square root of". This equation lets one calculate D--in kilometers, if h and R are given in kilometers--and one then can simplify it even furtherfurther:
√(2Rh) = ( √(2R)) x (√h)
with the two square roots multiplied. Using R = 6371 km, SQRT (2R) = 112.88, giving
D = 112.88 km √ (h)
If you are standing atop a mountain 1 km high, h = 1 km and your horizon should be 112.88 km away (we neglect the refraction of light in the atmosphere, which may increase this value). From the top of Mauna Kea on Hawaii, an extinct volcano about 4 km high (also the site of important astronomical observatories), the horizon should be about twice as distant, 226 km. On the other hand, standing on the beach with your eyes 2 meters = 0.002 km above the water, since SQRT(0.002) = 0.04472, the horizon is only 5 km distant.
The calculation should also hold the other way around. From a boat on the ocean you should begin seeing the top of Mauna Kea after you pass a distance of 226 km (again, not accounting for refraction). On November 15, 1806, Lieutenant Zebulon Pike of the US Army, leading an exploration party across the plains of the midwestern US, saw through his spyglass the top of a distant peak, just above the horizon. It took his party a week to cover the 100 miles to the mountain, which is now known as Pike's Peak, one of the tallest in Colorado. Pike actually tried to climb to its top, but the snow and the unexpected height of the mountain forced him back.