Difference between revisions of "Template:VT"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Fix pressure-to-density multiplier.)
m (Fix constants.)
Line 24: Line 24:
 
-->              {{#ifeq: {{{planet}}} | Laythe |  0.8  * e^(-{{{alt}}} / 4000) | <!--
 
-->              {{#ifeq: {{{planet}}} | Laythe |  0.8  * e^(-{{{alt}}} / 4000) | <!--
 
-->              }} }} }} }} }} }} <!--
 
-->              }} }} }} }} }} }} <!--
-->            ) * (1.223125 * 0.008) * 0.2 * 1 <!--
+
-->            ) * (1.2230948554874 * 0.008) * 0.2 * 1 <!--
 
-->        ) <!--
 
-->        ) <!--
 
-->    ) ^ 0.5<includeonly>}}</includeonly><noinclude>
 
-->    ) ^ 0.5<includeonly>}}</includeonly><noinclude>
Line 34: Line 34:
 
|}
 
|}
  
This template calculates terminal velocity of an object given the planet and the altitude from the planet's surface. It assumes that the coefficient of drag is 0.2 and that the cross-sectional area is 1 m<sup>2</sup>. It also assumes that atmospheric density is equal to the atmospheric pressure multiplied by 1.223125 * 0.008.<ref>"density as a function of height in this equation is given by 1.223125 x 0.008 x Exp[-height/5000 meters]" [http://forum.kerbalspaceprogram.com/showthread.php/13403-Air-density-on-Kerbin?p=196742&viewfull=1#post196742]</ref>
+
This template calculates terminal velocity of an object given the planet and the altitude from the planet's surface. It assumes that the coefficient of drag is 0.2 and that the cross-sectional area is 1 m<sup>2</sup>. It also assumes that atmospheric density is equal to the atmospheric pressure multiplied by 1.2230948554874 * 0.008.<ref>See the [[Atmosphere]] article.</ref>
  
 
== Notes ==
 
== Notes ==

Revision as of 23:19, 3 November 2012

expr: ( 2 * 6.67408e-11 * / ( ({{{alt}}} + )^2 * ( ) * (1.2230948554874 * 0.008) * 0.2 * 1 ) ) ^ 0.5

Usage Produces
{{VT | planet = Kerbin | alt = 0}}
100.1288989294

This template calculates terminal velocity of an object given the planet and the altitude from the planet's surface. It assumes that the coefficient of drag is 0.2 and that the cross-sectional area is 1 m2. It also assumes that atmospheric density is equal to the atmospheric pressure multiplied by 1.2230948554874 * 0.008.[1]

Notes

  1. See the Atmosphere article.