Difference between revisions of "Tutorial: Basic Orbiting (Math)"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Used math library!)
Line 1: Line 1:
 
{{Stub||Needs a simplified version -- [[User:N3X15|N3X15]] ([[User talk:N3X15|talk]]) 19:50, 8 July 2012 (UTC)}}
 
{{Stub||Needs a simplified version -- [[User:N3X15|N3X15]] ([[User talk:N3X15|talk]]) 19:50, 8 July 2012 (UTC)}}
  
==Target Speed for Stable [[Orbit]]==
 
 
In the basic orbiting tutorial, you were introduced to the concept of orbiting, and basic orbit stabilization, as well as an orbital table to help you along. Now, what if you want an orbit that isn't on that table? What if you want to have an orbit with a specific period? That's where these formulae come in.
 
In the basic orbiting tutorial, you were introduced to the concept of orbiting, and basic orbit stabilization, as well as an orbital table to help you along. Now, what if you want an orbit that isn't on that table? What if you want to have an orbit with a specific period? That's where these formulae come in.
  
 +
==Orbital Speed==
 
The relation between orbital speed and acceleration is given by the formula:
 
The relation between orbital speed and acceleration is given by the formula:
  
''a'' = ''v''<sup>2</sup> / ''r'',
+
<math>a=\frac{v^2}{r},</math>
  
 
where ''a'' is the acceleration due to gravity, ''v'' is the horizontal speed, and ''r'' is the radius of orbit.
 
where ''a'' is the acceleration due to gravity, ''v'' is the horizontal speed, and ''r'' is the radius of orbit.
Line 12: Line 12:
 
Of course, gravity varies depending on your distance from the planet, so we also need the following formula to determine ''a'' based on your altitude:
 
Of course, gravity varies depending on your distance from the planet, so we also need the following formula to determine ''a'' based on your altitude:
  
''a'' = ''g'' * (''R'' / (''R'' + ''h''))<sup>2</sup>,
+
<math>a=g\left(\frac{R}{R+h}\right)^2,</math>
  
 
where ''g'' is the acceleration due to gravity at sea level (9.807 m/s<sup>2</sup>), ''R'' is the radius of Kerbin (600 km), and ''h'' is the altitude of your orbit.
 
where ''g'' is the acceleration due to gravity at sea level (9.807 m/s<sup>2</sup>), ''R'' is the radius of Kerbin (600 km), and ''h'' is the altitude of your orbit.
  
'''Note:''' From here, we will substitute ''R'' + ''h'' for ''r'', since the radius of your orbit is equal to the radius of Kerbin plus your altitude.
+
'''Note:''' Since the radius of your orbit ''r'' is equal to the radius of Kerbin ''R'' plus your altitude ''h'', we can substitute ''R'' + ''h'' for ''r''.
  
Substituting for ''a'' and simplifying, we get:
+
Now we have two expressions for ''a'', so we set them on opposite sides of an equation and simplify:
  
''g'' * (''R'' / (''R'' + ''h''))<sup>2</sup> = ''v''<sup>2</sup> / (''R'' + ''h'')
+
<math>
 +
\begin{align}
 +
g\left(\frac{R}{(R+h)}\right)^2&=\frac{v^2}{r}\\
 +
g\left(\frac{R}{(R+h)}\right)^2&=\frac{v^2}{R+h}\\
 +
g\frac{R^2}{(R+h)^2}&=\frac{v^2}{R+h}\\
 +
g\frac{R^2}{R+h}&=v^2\\
 +
v^2&=g\frac{R^2}{R+h}\\
 +
v&=\sqrt{g\frac{R^2}{R+h}}\\
 +
v&=R\sqrt{\frac{g}{R+h}}\\
 +
\end{align}
 +
</math>
  
''g'' * ''R''<sup>2</sup> / (''R'' + ''h'') = ''v''<sup>2</sup>
+
Finally, substituting known values for ''g'' and ''R'',
  
''v'' = ''R'' * sqrt(''g'' / (''R'' + ''h''))
+
<math>v=600\ 000\ \mathrm{m}\sqrt{\frac{9.807\ \mathrm{m}/\mathrm{s}^2}{600\ 000\ \mathrm{m} + h}}</math>
  
Finally, substituting known values for ''g'' and ''R'',
+
==Orbital Period==
 +
From the basic mechanics formula:
  
''v'' = 600 000 m * sqrt(9.807 m/s<sup>2</sup> / (600 000 m + ''h''))
+
<math>d=vt</math>
ne. From the basic mechanics formula:
 
d = v * t
 
We know v from the above, and d is simply the circumference of a circle with a radius equal to your orbital altitude plus the radius of Kerbin:
 
t = 2π * (600 000 m + h) / v
 
  
 +
We know ''v'' from the above, and ''d'' is simply the circumference of a circle with a radius equal to your orbital altitude plus the radius of Kerbin:
  
From these two formulas, you can easily find orbital speed, as well as orbital period, if you know your way around a calculator.
+
<math>t=2\pi\frac{600\ 000\ \mathrm{m} + h}{v}</math>
  
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]

Revision as of 21:47, 28 September 2012

This article is a stub. You can help KSP Wiki by expanding it.

In the basic orbiting tutorial, you were introduced to the concept of orbiting, and basic orbit stabilization, as well as an orbital table to help you along. Now, what if you want an orbit that isn't on that table? What if you want to have an orbit with a specific period? That's where these formulae come in.

Orbital Speed

The relation between orbital speed and acceleration is given by the formula:

where a is the acceleration due to gravity, v is the horizontal speed, and r is the radius of orbit.

Of course, gravity varies depending on your distance from the planet, so we also need the following formula to determine a based on your altitude:

where g is the acceleration due to gravity at sea level (9.807 m/s2), R is the radius of Kerbin (600 km), and h is the altitude of your orbit.

Note: Since the radius of your orbit r is equal to the radius of Kerbin R plus your altitude h, we can substitute R + h for r.

Now we have two expressions for a, so we set them on opposite sides of an equation and simplify:

Finally, substituting known values for g and R,

Orbital Period

From the basic mechanics formula:

We know v from the above, and d is simply the circumference of a circle with a radius equal to your orbital altitude plus the radius of Kerbin: