Difference between revisions of "Template:VT"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Moho no longer has an atmopshere, and Jool's scale height is 10 km, not 9.)
m
Line 6: Line 6:
 
-->                    {{#ifeq: {{{planet}}} | Jool  | 4.2332635E+24 | <!--
 
-->                    {{#ifeq: {{{planet}}} | Jool  | 4.2332635E+24 | <!--
 
-->                    {{#ifeq: {{{planet}}} | Laythe | 2.9397663E+22 | <!--
 
-->                    {{#ifeq: {{{planet}}} | Laythe | 2.9397663E+22 | <!--
-->                    }} }} }} }} }} }} <!--
+
-->                    }} }} }} }} }} <!--
 
-->        / ( <!--
 
-->        / ( <!--
 
-->            ({{{alt}}} + {{#ifeq: {{{planet}}} | Eve    |  700000 | <!--planet radius
 
-->            ({{{alt}}} + {{#ifeq: {{{planet}}} | Eve    |  700000 | <!--planet radius
Line 13: Line 13:
 
-->                          {{#ifeq: {{{planet}}} | Jool  | 6000000 | <!--
 
-->                          {{#ifeq: {{{planet}}} | Jool  | 6000000 | <!--
 
-->                          {{#ifeq: {{{planet}}} | Laythe |  500000 | <!--
 
-->                          {{#ifeq: {{{planet}}} | Laythe |  500000 | <!--
-->                          }} }} }} }} }} }} <!--
+
-->                          }} }} }} }} }} <!--
 
-->            )^2 * <!--
 
-->            )^2 * <!--
 
-->            ( {{#ifeq: {{{planet}}} | Eve    |  5    * e^(-{{{alt}}} /  7000) | <!-- atmospheric pressure
 
-->            ( {{#ifeq: {{{planet}}} | Eve    |  5    * e^(-{{{alt}}} /  7000) | <!-- atmospheric pressure
Line 20: Line 20:
 
-->              {{#ifeq: {{{planet}}} | Jool  | 15    * e^(-{{{alt}}} / 10000) | <!--
 
-->              {{#ifeq: {{{planet}}} | Jool  | 15    * e^(-{{{alt}}} / 10000) | <!--
 
-->              {{#ifeq: {{{planet}}} | Laythe |  0.8  * e^(-{{{alt}}} /  4000) | <!--
 
-->              {{#ifeq: {{{planet}}} | Laythe |  0.8  * e^(-{{{alt}}} /  4000) | <!--
-->              }} }} }} }} }} }} <!--
+
-->              }} }} }} }} }} <!--
 
-->            ) * (1.2230948554874 * 0.008) * 0.2 * 1 <!--
 
-->            ) * (1.2230948554874 * 0.008) * 0.2 * 1 <!--
 
-->        ) <!--
 
-->        ) <!--

Revision as of 01:00, 13 January 2013

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.