Template:V2/doc: Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>Auntof6
use existing cats
 
(No difference)

Latest revision as of 09:48, 31 January 2013

Template:Documentation subpage

Usage

This template calculates escape velocity v2 of a spherical body of the mass M and radius R:

v2=2×G×MR.

G is the gravitational constant. The template should be used in the following way:

{{v2|M|R|PRE}},

where M is body's mass in 1021 kg, R is radius in km and PRE is the number of digits after decimal point in the result (default is 3). The result is expressed in km/s.

Example (escape velocity of Titania): M=3.526Template:Esp kg, R=788.9 km.

v2=Template:V2 km/s.