Solving the n-body problem interacting gravitationally using Python
Universal Gravitation Two bodies are mass \( m \) and \( M \), where the first body is a circular orbit with respect to the second. The centripetal force that acts on \(m\) is:\[F\_{m} = m\frac{v^{2}}{r}\] We know that for a circular orbit \(v = \frac{2\pi r}{T}\), using this expression in the third law of Kepler … Read more