Difference between revisions of "Template:OrbitVelocity"
From Kerbal Space Program Wiki
(Make a template for calculating the velocity of an orbit with the given period, planet mass, and planet radius.) |
m (Fix line breaks.) |
||
Line 1: | Line 1: | ||
{{#expr: <!-- | {{#expr: <!-- | ||
− | --> ( | + | --> ( <!-- |
− | --> 6.6726e-11 * {{{mass_kg}}} / | + | --> 6.6726e-11 * {{{mass_kg}}} / <!-- |
--> ( <!-- | --> ( <!-- | ||
--> ( <!-- | --> ( <!-- | ||
Line 8: | Line 8: | ||
--> ) ^ (1/3) <!-- | --> ) ^ (1/3) <!-- | ||
--> ) <!-- | --> ) <!-- | ||
− | --> ) | + | --> ) <!-- |
--> }} m/s<noinclude> | --> }} m/s<noinclude> | ||
Line 19: | Line 19: | ||
This template calculates the velocity of an orbit, given the mass of the planet (in kg), the planet's radius (in km), and the period of the orbit (in seconds). | This template calculates the velocity of an orbit, given the mass of the planet (in kg), the planet's radius (in km), and the period of the orbit (in seconds). | ||
− | [[Category:Templates|OrbitVelocity ]] | + | [[Category:Templates|OrbitVelocity]] |
</noinclude> | </noinclude> |
Revision as of 23:34, 15 October 2012
Expression error: Unrecognized punctuation character "{". m/s
Usage | Produces |
---|---|
{{OrbitVelocity | period_s=64980 | mass_kg=4.515e21 | radius_km=320}} |
0.00 m/s |
This template calculates the velocity of an orbit, given the mass of the planet (in kg), the planet's radius (in km), and the period of the orbit (in seconds).