Semimajor axis of orbit via mass and speed¶
Let the body move in an elliptical orbit. Then its semimajor axis depends on the mass of the body around which it rotates and the orbital velocity.
Notation:
\(G\) (
G
) isgravitational_constant
.
- semimajor_axis¶
semimajor_axis
of the orbit.- Symbol:
a
- Latex:
\(a\)
- Dimension:
length
- orbital_speed¶
speed
of the attracted body at which it orbits the attracting body.- Symbol:
v
- Latex:
\(v\)
- Dimension:
velocity
- law¶
a = G * m / v^2
- Latex:
- \[a = \frac{G m}{v^{2}}\]