Difference between revisions of "Template:VT"
From Kerbal Space Program Wiki
m (Fix braces.) |
m (More fixes.) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{# | + | <includeonly>{{#</includeonly>expr: <!-- |
--> ( <!-- | --> ( <!-- | ||
--> 2 * {{G}} * {{#ifeq: {{{planet}}} | Moho | 3.6747079E+21 | <!-- mass | --> 2 * {{G}} * {{#ifeq: {{{planet}}} | Moho | 3.6747079E+21 | <!-- mass | ||
Line 8: | Line 8: | ||
--> {{#ifeq: {{{planet}}} | Laythe | 2.9397663E+22 | <!-- | --> {{#ifeq: {{{planet}}} | Laythe | 2.9397663E+22 | <!-- | ||
--> }} }} }} }} }} }} <!-- | --> }} }} }} }} }} }} <!-- | ||
− | --> ( <!-- | + | --> * ( <!-- |
--> ({{{alt}}} + {{#ifeq: {{{planet}}} | Moho | 250000 | <!-- planet radius | --> ({{{alt}}} + {{#ifeq: {{{planet}}} | Moho | 250000 | <!-- planet radius | ||
--> {{#ifeq: {{{planet}}} | Eve | 700000 | <!-- | --> {{#ifeq: {{{planet}}} | Eve | 700000 | <!-- |
Revision as of 21:22, 2 November 2012
expr: ( 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.