Upload
nishantha041
View
713
Download
51
Embed Size (px)
Citation preview
7/22/2019 Haversine Formula Fro Excel
1/11
Haversine Formula
The haversine formula is an equation giving great circle distances between two points on a sphere
from their longitudes and latitudes.
If A, B & C are three points in sphere surface, Then;
Haversine Formula
The Cosine form;
Simplified formula used in distance calculation;
If A(Lon1, Lat1) & B(Lon2, Lat2) are two points in earth
surface and "a" is the distance between two points.
o : Center of the earth.
R : Radius of the earth.
Longitude & Latitude values should be in Radiant.
Then Formula;
Above simplified formula used in excel as a function to calculate distance between site and each
recorded Rx level point. All the recorded Rx level points export to excel format with respect to
coordinates by using Actix Analyzer.Written sample formula in Excel;
where;
A1 : Latitude of Point A
A2 : Latitude of Point B
B1 : Longitude of Point A
B2 : Longitude of Point B
All the coordinates were in degree. assumed earth radius as 6371km.
)2/(sin)sin(
)(sin)sin()sin()sin()sin(
2cchaver
ehaverbabahaverchaver
)cos()sin()sin()cos()cos()cos( babac
C
B
A
c
a
b
o
B(Lon2, Lat2)a
A(Lon1, Lat1)
R
))2
12(sin)1cos()2cos()
2
12(sinarcsin(2 22
LonLonLatLat
LatLatRa
Distance= RadiusEarth*((2*ASIN(SQRT((SIN((RADIANS(A1)-RADIANS(A2))/2)^2)+
COS(RADIANS(A1))*COS(RADIANS(A2))*(SIN((RADIANS(B1)-RADIANS(B2))/2)^2)))))