# acc_wgs84

Returns the total acceleration due to gravitation and centripetal force at the earth's surface according to the WGS84 international gravity formula.

g = acc_wgs84(latitude) % Matlab & Octave
g <- acc_wgs84(latitude) # R

Returns the total acceleration due to gravitation and centripetal force at the earth's surface according to the WGS84 international gravity formula.

Input var Description Default value
latitude latitude is in degrees degrees
Output var Description Units
g total acceleration due to gravitation and centripetal force at the earth's surface in m/s2 m/s2

### Matlab & Octave

acc_wgs84(50)
g = 9.8107 % m/s^2

### R

acc_wgs84(50)
g = 9.8107 # m/s^2