PPRuNe Forums - View Single Post - Distance between 2 points
View Single Post
Old 18th February 2004 | 22:03
  #6 (permalink)  
SFI145
 
Joined: Apr 2002
Posts: 150
Likes: 0
From: Bohol, Philippines
The great circle distance d between two points with coordinates {lat1,lon1} and {lat2,lon2} is given by:

Dist=acos(sin(lat1)*sin(lat2)+cos(lat1)*cos(lat2)*cos(lon1-lon2))
SFI145 is offline