Difference between revisions of "Template:Gr/doc"

From blackwiki
Jump to navigation Jump to search
imported>Amakuha
imported>روخو
m
Line 23: Line 23:
 
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
 
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
 
[[Category:Astronomy formatting and function templates|{{PAGENAME}}]]
 
[[Category:Astronomy formatting and function templates|{{PAGENAME}}]]
 +
[[ar:قالب:GR]]
 
[[uk:Шаблон:Gr]]
 
[[uk:Шаблон:Gr]]
 
</includeonly>
 
</includeonly>

Revision as of 11:21, 24 December 2011

Usage

This template calculates surface gravity g of a spherical body of the mass M and radius R:

<math>g=\frac{G*M}{R^2}</math>.

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

{{Gr|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 dot in the result (default is 3). The result is expressed in m/s2.

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

g=0.378 m/s2.

See also

  • {{V2}} — computes escape velocity.