oce (version 1.8-2)

gravity: Acceleration Due to Earth Gravity

Description

Compute \(g\), the acceleration due to gravity, as a function of latitude.

Usage

gravity(latitude = 45, degrees = TRUE)

Value

Acceleration due to gravity, in \(m^2/s\).

Arguments

latitude

Latitude in \(^\circ\)N or radians north of the equator.

degrees

Flag indicating whether degrees are used for latitude; if set to FALSE, radians are used.

Author

Dan Kelley

Details

Value not verified yet, except roughly.

References

Gill, A.E., 1982. Atmosphere-ocean Dynamics, Academic Press, New York, 662 pp.

Caution: Fofonoff and Millard (1983 UNESCO) use a different formula.

Examples

Run this code
g <- gravity(45) # 9.8

Run the code above in your browser using DataLab