Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.

radius

switch ${units=mi} | mi => 3959, nmi => 3440, km => 6371, ft => 20902258, m => 6371009
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

    
153 uses - Created 2010-05-09 05:18:39 - Last used 2023-09-22 02:52:57
Is this command broken? Tell Jon if you know how to fix it.
Do you find this command offensive? Let Jon know.