![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME
radius - returns the distance to the center the earth.
SYNOPSIS
radius -units [UNIT]
where the default unit is "mi" (miles). Other values that
can be specified are "nmi" (nautical miles), "km" (kilometers),
"ft" (feet), and "m" (meters).
DESCRIPTION
The radius command returns the mean distance from the surface to
the center of the Earth for the associated units. It can be used
to calculate distance across the Earth's surface.
EXAMPLES
Example: scale -units mi
Result: 3959
Example: scale
Result: 3959
Example: scale -units nmi
Result: 3440
Example: scale -units km
Result: 6371
SEE ALSO
http://en.wikipedia.org/wiki/Earth_radius
AUTHOR
Paul M. Boren
pmboren AT gmail DOT com