¿A QUÉ DISTANCIA VES
EL HORIZONTE?

Sitúa el puntero en el botón deslizante 
y pulsa las teclas + y - 
hasta alcanzar la altura deseada.

A = (6.1, 6.2)
B = (7.1, 12.2)
O = (0, 0)
R = 6371000
h = 2 (slider from 1 to 1000, step 0.01)
m = 10.3
h2: log(h) / log(10) + 0.5
c = Circle(A, B)
C = Point(c)
v: C - A
u: (h2 * UnitVector[v])
D: C + u
a, b = Tangent(D, c)
E = Intersect(c, a, 1)
H = Midpoint(D, E)
f = Segment(A, E)
I = Midpoint(A, E)
g = Segment(C, A)
i = Segment(D, C)
α = Angle(D, E, A)
α1: acos(R / (R + h))
β = Angle(E, A, C)
F = Midpoint(D, C)
G = Midpoint(C, A)
T1: R / 1000 + " km"
T2: R / 1000 + " km"
T3: h + " m"
d: sqrt(((2 * R) * h) + h^(2))
e = Segment(D, E)
T4: d / 1000 + " km"