Difference between revisions of "Template:Gr/doc"
Jump to navigation
Jump to search
imported>Ruslik0 m |
imported>Ruslik0 (fix) |
||
| Line 11: | Line 11: | ||
<nowiki>{{Gr|M|R|PRE}}</nowiki>, | <nowiki>{{Gr|M|R|PRE}}</nowiki>, | ||
| − | where M is body's mass in 10<sup>21</sup> kg, R is radius in km and PRE is the number of digits after decimal dot in the result. The result is expressed in m/s<sup>2</sup>. | + | where M is body's mass in 10<sup>21</sup> 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/s<sup>2</sup>. |
| − | Example (escape velocity of [[Titania (moon)|Titania]]) | + | Example (escape velocity of [[Titania (moon)|Titania]]): M=3.526{{Esp|21}} kg, R=788.9 km. |
v2={{Gr|3.526|788.9}} m/s<sup>2</sup>. | v2={{Gr|3.526|788.9}} m/s<sup>2</sup>. | ||
Revision as of 17:32, 28 June 2009
| This is a documentation subpage for Template:Gr. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template calculates surface gravity g of a spherical body of the mass M and radius R:
<math>v2=\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.
v2=0.378 m/s2.