answersLogoWhite

0


Best Answer

If the earth is treated as a sphere, the formula is 6371 km * cos-1(cos(Long1-Long2)cos(Lat1)cos(Lat2)+sin(Lat1)sin(Lat2))Here, Long1 and Lat1 are the coordinates of one point, and Long2 and Lat2 are the coordinates of the other. 6371 km is the radius of the Earth (which you could convert to miles to get an answer in miles for your distance). You'll notice we're taking sines and cosines of latitude and longitude: this is because they're really angles! Longitude measures a point's angle in the equator's plane, and latitude measures its angle away from that horizontal. If you've seen spherical coordinates before, this should be familiar. The formula assumes you're dealing with angles in radians. If you want to use degrees, you'll have to multiply the final answer by pi/180. Here's how to get this formula. First, note that it's very easy to get a distance between two points on a sphere if you know the angle of the arc between them: just multiply it by the radius. So we're going to concentrate on finding this angle. We're going to use the fact that the dot product of two vectors is equal to the product of their lengths, times the cosine of the angle between them. At the same time, we can compute a dot product coordinate by coordinate. Let the vectors a and b be the vectors from the center of the earth to each of our points. Using spherical coordinates, we can write them down explicitly: a = (r cos(Long1)cos(Lat1), r sin(Long1)cos(Lat1), r sin(Lat1)) b = (r cos(Long2)cos(Lat2), r sin(Long2)cos(Lat2), r sin(Lat2)) We take their dot product and get r^2 (cos(Long1)cos(Long2)cos(Lat1)cos(Lat2) + sin(Long1)sin(Long2)cos(Lat1)cos(Lat2) + sin(Lat1)sin(Lat2)) By the other formula for dot product, this is r^2 times the cosine of the angle between them. So cancel the r^2, and take the inverse cosine. You'll get the formula above (if you simplify some terms). In fact the earth is not a sphere. It is generally an "oblate spheroid", meaning that it is somewhat flattened at the poles. But the true shape of the Earth is actually irregular, and it is therefore impossible to determine by formula the exact distance between two points. Various approximations of the shape of the earth, called reference ellipsoids, are used in other, more complex formulas that come closer to the actual distance. The spherical solution given here is pretty close for many purposes though.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the formula for distance using latitude and longitude?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

When did you start using latitude and longitude?

it varies


What is distance measured in degrees east or west of the prime meridian?

The Prime Meridian is defined as zero degrees of longitude. The distance in miles between degrees of longitude depends on the latitude; one degree of longitude equals the cosine of the latitude * 60 nautical miles. Note: If you're using Excel or some other spreadsheet program, be sure to convert degrees into radians before calculating the cosine of the latitude.


What are the 3 important things to remember when using latitude and longitude?

1.longitude lines go vertically 2. latitude lines go horizontally 3.latitude is the angular distance o degrees of the equator By "vertically" is meant "north-south". By "horizontally" is meant "east - west".


How do you describe location?

Through using longitude and latitude.


How do you use longitude and latitude used to identify a location?

what using a longitude and latitude is used to create map showing exact location


What is the approximate grid location of Guam using latitude and longitude?

13 28 N latitude, 144 47 E longitude


Where is Canada located using latitude and longitude?

Latitude: 60° 0' 0" N / Longitude: 95° 0' 0" W


How do the latitudes and longitude help you locate the exact places?

Latitude - is the distance from the equator (either north or south). Longitude - is the distance from the Prime Meridian in Greenwich, England (either east or west). Using these values you can pinpoint your position anywhere on Earth.


How do the latitude and longitudes help you locate the exact places?

Latitude - is the distance from the equator (either north or south). Longitude - is the distance from the Prime Meridian in Greenwich, England (either east or west). Using these values you can pinpoint your position anywhere on Earth.


Longitude in a sentence?

If you know the latitude and longitude of the island you can pinpoint its location on the map.


How do you find longitude and latitude?

You find latitude by finding the place on the map and see what line it is between or on. The same with longitude. You can also find the latitude and longitude of an address using Google maps.


What is the location of Kigali Rwanda using latitude and longitude?

Why are you posting this u need to do your review sheets