Tag

great-circle distance

1 views collected around this technical thread.

Model Perspective
Model Perspective
Sep 28, 2023 · Fundamentals

How the Haversine Formula Calculates Flight Distances Between Cities

Discover how the Haversine formula, rooted in centuries of navigation history, computes the shortest great‑circle distance between any two points on Earth, illustrated with Python code that measures distances and flight times among Beijing, Shanghai, Guangzhou, and Shenzhen.

Haversine formulaPythonflight distance
0 likes · 7 min read
How the Haversine Formula Calculates Flight Distances Between Cities