What is Nostr?
Thomas Arend /
npub1tq6…d30y
2023-07-03 12:45:33
in reply to nevent1q…r4m0

Thomas Arend on Nostr: Now we perform the following calculations 6. Build a triangle between the North Pole ...

Now we perform the following calculations

6. Build a triangle between the North Pole and the two positions.
7. The distances (a and b) of the points to the North Pole should be equal on a flat earth and a globe.
8. The angle between the points also stays the same.
9. a = (90 - A.lat) / 180 * pi, b = (90 - B.lat) / 180 * pi
10. On a flat earth, the distance c would be R * sqrt( a² + b² - 2 * a * b * cos(γ) ) with R the radius of the globe.

/2
Author Public Key
npub1tq63vdfcc9z9pmjr69d6aeujhr3an9vwhxguxn5v8h9ey0wsp26schd30y