Difference between revisions of "Template:OrbitVelocity"
From Kerbal Space Program Wiki
(!missing open comment;) |
|||
Line 3: | Line 3: | ||
--> {{G}} * {{{mass_kg}}} / {{OrbitAltitude/Core|{{{period_s}}}|{{{mass_kg}}}|0}} <!-- | --> {{G}} * {{{mass_kg}}} / {{OrbitAltitude/Core|{{{period_s}}}|{{{mass_kg}}}|0}} <!-- | ||
--> ) ^ 0.5 <!-- | --> ) ^ 0.5 <!-- | ||
− | --> {{{round|}}} }} {{{suffix|m/s}}}<noinclude> | + | --> {{{round|}}} }} {{{suffix|{{lang|en=m/s|ru=м/с}}}}}<noinclude> |
{| class="wikitable" | {| class="wikitable" |
Revision as of 18:02, 6 August 2013
Expression error: Unrecognized punctuation character "{". m/s
Usage | Produces |
---|---|
{{OrbitVelocity | period_s=64980 | mass_kg=4.515e21}} |
0.00 m/s |
{{OrbitVelocity | period_s=64980 | mass_kg=4.515e21 | round=round2}} |
0.00 m/s |
{{OrbitVelocity | period_s=64980 | mass_kg=4.515e21 | round=round2 | suffix=}} |
0.00 m/s |
This template calculates the velocity of an orbit, given the mass of the planet (in kg) and the period of the orbit (in seconds).