Difference between revisions of "Template:VT"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Simplify the template by specifying a planet instead of mass, radius, etc.)
m (Fix braces.)
Line 17: Line 17:
 
-->                          }} }} }} }} }} }} <!--
 
-->                          }} }} }} }} }} }} <!--
 
-->            )^2 * <!--
 
-->            )^2 * <!--
-->            ( {{#ifeq: {{{planet}}} | Moho  |  0.005 * e^(-{{{alt}} / 2000) | <!-- atmospheric pressure
+
-->            ( {{#ifeq: {{{planet}}} | Moho  |  0.005 * e^(-{{{alt}}} / 2000) | <!-- atmospheric pressure
-->              {{#ifeq: {{{planet}}} | Eve    |  5    * e^(-{{{alt}} / 7000) | <!--
+
-->              {{#ifeq: {{{planet}}} | Eve    |  5    * e^(-{{{alt}}} / 7000) | <!--
-->              {{#ifeq: {{{planet}}} | Kerbin |  1    * e^(-{{{alt}} / 5000) | <!--
+
-->              {{#ifeq: {{{planet}}} | Kerbin |  1    * e^(-{{{alt}}} / 5000) | <!--
-->              {{#ifeq: {{{planet}}} | Duna  |  0.2  * e^(-{{{alt}} / 3000) | <!--
+
-->              {{#ifeq: {{{planet}}} | Duna  |  0.2  * e^(-{{{alt}}} / 3000) | <!--
-->              {{#ifeq: {{{planet}}} | Jool  | 15    * e^(-{{{alt}} / 9000) | <!--
+
-->              {{#ifeq: {{{planet}}} | Jool  | 15    * e^(-{{{alt}}} / 9000) | <!--
-->              {{#ifeq: {{{planet}}} | Laythe |  0.8  * e^(-{{{alt}} / 4000) | <!--
+
-->              {{#ifeq: {{{planet}}} | Laythe |  0.8  * e^(-{{{alt}}} / 4000) | <!--
 
-->              }} }} }} }} }} }} <!--
 
-->              }} }} }} }} }} }} <!--
 
-->            ) * 0.01225 * 0.2 * 1 <!--
 
-->            ) * 0.01225 * 0.2 * 1 <!--

Revision as of 21:18, 2 November 2012

( 2 * 6.67408e-11 * ( ({{{alt}}} + )^2 * ( ) * 0.01225 * 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.