Difference between revisions of "Template:VT"
From Kerbal Space Program Wiki
m (Fix math.) |
m (Fix pressure-to-density multiplier.) |
||
Line 24: | Line 24: | ||
--> {{#ifeq: {{{planet}}} | Laythe | 0.8 * e^(-{{{alt}}} / 4000) | <!-- | --> {{#ifeq: {{{planet}}} | Laythe | 0.8 * e^(-{{{alt}}} / 4000) | <!-- | ||
--> }} }} }} }} }} }} <!-- | --> }} }} }} }} }} }} <!-- | ||
− | --> ) * 0. | + | --> ) * (1.223125 * 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>. | + | 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> |
+ | |||
+ | == Notes == | ||
+ | <references /> | ||
[[Category:Templates|VT]] | [[Category:Templates|VT]] | ||
</noinclude> | </noinclude> |
Revision as of 22:17, 2 November 2012
expr: ( 2 * 6.67408e-11 * / ( ({{{alt}}} + )^2 * ( ) * (1.223125 * 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.223125 * 0.008.[1]