Question: Do all this in Excel The shortest distance between two points on the surface of the globe ( great - circle distance ) can be

Do all this in Excel
The shortest distance between two points on the surface of the globe (great-
circle distance) can be calculated by using the haversine formula. If 1 and
1 are the latitude and longitude of point 1 and 2 and 2 are the latitude
and longitude of point 2, the great circle distance between the points is given
by:
d=2Rsin-1(a2)
where a=sin2(2-12)+cos1cos2cos1sin2(2-12), and R=3,959mi is
the Farth radius. Write a user-defined function that determines the distance
between two points on the Earth. For the function name and arguments, use
dis = GreatCirDis (Lat1, Lng1, Lat 2, Lng2), where the input argu-
ments are the latitude and longitude of the two points (degrees in decimal
format), and dis is the great-circle distance in miles. Use the function to
calculate the distance between London (51.50853,-0.12574) and New York City (40.71427,-74.00597)
 Do all this in Excel The shortest distance between two points

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!