Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Neo4j Data Modeling

Authors: Steve Hoberman ,David Fauth

1st Edition

1634621913, 978-1634621915

More Books

Students also viewed these Databases questions

Question

Who is the biggest drama queen in your family?

Answered: 1 week ago

Question

LOQ 13-11: How can group interaction enable groupthink?

Answered: 1 week ago

Question

Develop successful mentoring programs. page 400

Answered: 1 week ago