Difference between revisions of "Template:Body data/Gravity"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (XZise moved page Template:BodyData/Gravity to Template:Body data/Gravity: lowercase and spaced)
m (*moved template;)
Line 1: Line 1:
<includeonly>{{#expr: {{BodyData|{{{1}}}|mass}} * {{G}}/({{BodyData|{{{1}}}|radius}}^2)}}</includeonly><noinclude>Returns the surface gravity of a [[celestial body]] in meters/second². It uses {{Tl|BodyData}} with the properties <tt>mass</tt> and <tt>radius</tt> for the given body.
+
<includeonly>{{#expr: {{Body data|{{{1}}}|mass}} * {{G}}/({{Body data|{{{1}}}|radius}}^2)}}</includeonly><noinclude>Returns the surface gravity of a [[celestial body]] in meters/second². It uses {{Tl|Body data}} with the properties <tt>mass</tt> and <tt>radius</tt> for the given body.
 
:<math>g = \frac{M \cdot G}{R^2}</math>
 
:<math>g = \frac{M \cdot G}{R^2}</math>
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
[[Category:BodyData Math Templates|Gravity]]</noinclude>
 
[[Category:BodyData Math Templates|Gravity]]</noinclude>

Revision as of 11:50, 27 August 2014

Returns the surface gravity of a celestial body in meters/second². It uses {{Body data}} with the properties mass and radius for the given body.