Difference between revisions of "Template:Body data/orbit period"
From Kerbal Space Program Wiki
m (XZise moved page Template:OrbitPeriod to Template:Body data/orbit period) |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{#expr: 2*pi* | + | <includeonly>{{#expr: 2*pi*(({{{1}}})^3/({{G}}*({{Body data|{{{2}}}|mass}})))^(0.5)}}</includeonly><noinclude>This template calculates the orbital period in seconds. |
{| class="wikitable" | {| class="wikitable" | ||
Line 6: | Line 6: | ||
|- | |- | ||
| 1 | | 1 | ||
− | | | + | | Semi-major axis (in meters) |
|- | |- | ||
| 2 | | 2 | ||
| Parent object | | Parent object | ||
− | |||
− | |||
− | |||
|} | |} | ||
Revision as of 14:47, 28 August 2017
This template calculates the orbital period in seconds.
Name | Description |
---|---|
1 | Semi-major axis (in meters) |
2 | Parent object |
Example
{{Body data/orbit period|13599840256|Kerbol}}
9203544.6175013