Difference between revisions of "Template:VT"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Create a template for calculating terminal velocity.)
 
m (Close the expr.)
Line 5: Line 5:
 
-->            {{{r}}}^2 * {{{density}}} * 0.2 * 1 <!--
 
-->            {{{r}}}^2 * {{{density}}} * 0.2 * 1 <!--
 
-->        ) <!--
 
-->        ) <!--
-->    ) ^ 0.5<noinclude>
+
-->    ) ^ 0.5}}<noinclude>
  
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 20:36, 2 November 2012

Expression error: Unrecognized punctuation character "{".

Usage Produces
{{VT | M=5.2915793E+22 | r=600000 | density=0.01225}}
Expression error: Unexpected < operator.

This template calculates terminal velocity given a planet's mass (M), the distance of a body from the planet's center (r), and the density of the atmosphere (density). It assumes that the coefficient of drag is 0.2 and that the cross-sectional area is 1 m2.