![]() |
|
|||||
|
||||||
Subject: Re: Formula for dis. between two points on the Globe
From: Pierre H Boucher (75247.1307@XXX.XXX)
Date: Mon Oct 21 1996 - 15:21:12 EDT
<Ben Smith wrote :
>Hello,
>Is there somebody that hase the Formula to calculate the distans
>between two points on the globe.
>eg. 52 29.66N and 52 32.86N
> 005 02.45E 004 40.67E
>My GPS tells me that it is 13.6nm CTS106
To compute the distance the formula is:
Distance = arcCOS (( sinL2 x sinL1 ) + ( cosL2 x cosL1 x cosDLo ))
To compute the course:
Course in quadrant = arcCos (( sinL2 - ( cosD x sinL1 )) / ( sinD x cosL1 )
L1 and L2 = Latitudes
DLo = Difference of longitude
D = distance as compute by the first formula
Important note:
convert all datas as dd.dddd Ex: 52d 29.66' = 52.4944d
If L1 and L2 are of contrary names enter L2 as negative.
Hope this help,
Pierre Boucher N
CPS code 16-32
|