- #1
- 1,650
- 246
Suppose we know the (longitude/latitude) coordinates of two cities and we want to find the straight-line distance between them. Call this distance B.
Would this be correct?
##B=\sqrt{B_1^2+B_2^2}##
##B_1=2R\sin(\theta / 2)##
##B_2=2R\sin(\phi / 2)##
Where:
R is the Earth's radius
θ and Φ are the difference between the longitude/latitude coordinates respectively.
Seems correct to me, but I have an astronomy lab where the coordinates of two cities are given and the (straight-line) distance between them is given, but it doesn't agree with my formula above.
Would this be correct?
##B=\sqrt{B_1^2+B_2^2}##
##B_1=2R\sin(\theta / 2)##
##B_2=2R\sin(\phi / 2)##
Where:
R is the Earth's radius
θ and Φ are the difference between the longitude/latitude coordinates respectively.
Seems correct to me, but I have an astronomy lab where the coordinates of two cities are given and the (straight-line) distance between them is given, but it doesn't agree with my formula above.