Difference between revisions of "Template:OrbitSynodicPeriod"
From Kerbal Space Program Wiki
m (Auto: Built-in filters (Review RC#28598)) |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{#expr: abs(1/((1/{{{1}}}) - (1/{{{2|9203545}}})))}}</includeonly><noinclude>Calculates the synodic orbital period. This is roughly the time between two transfer windows. It works | + | <includeonly>{{#expr: abs(1/((1/{{{1}}}) - (1/{{{2|9203545}}})))}}</includeonly><noinclude>Calculates the synodic orbital period. This is roughly the time between two transfer windows. It works not for Kerbin and Kerbol but all other celestial bodies. |
:<math>\text{orbital period}_\text{synodic} = \left|\frac{1}{\frac{1}{\text{period a}_\text{sideral}} - \frac{1}{\text{period b}_\text{sideral}}}\right|</math> | :<math>\text{orbital period}_\text{synodic} = \left|\frac{1}{\frac{1}{\text{period a}_\text{sideral}} - \frac{1}{\text{period b}_\text{sideral}}}\right|</math> | ||
Line 6: | Line 6: | ||
Please note, that both periods have to be in the same time unit. It is recommended to use seconds, especially as the default value for the second parameter is in seconds. | Please note, that both periods have to be in the same time unit. It is recommended to use seconds, especially as the default value for the second parameter is in seconds. | ||
{{Parameter Table|name=number|parameters= | {{Parameter Table|name=number|parameters= | ||
− | {{ | + | {{Parameter Row|1|Siderial period for celestial body a.}} |
− | {{ | + | {{Parameter Row|2|Siderial period for celestial body b.|Kerbin's siderial period in seconds (9203545)}} |
}} | }} | ||
− | [[Category:Templates | + | [[Category:Templates]]</noinclude> |
Revision as of 15:38, 16 July 2013
Calculates the synodic orbital period. This is roughly the time between two transfer windows. It works not for Kerbin and Kerbol but all other celestial bodies.
Parameter
Please note, that both periods have to be in the same time unit. It is recommended to use seconds, especially as the default value for the second parameter is in seconds. Template:Parameter Table