Newtons Universal Gravitation

Newton's law of universal gravitation is usually stated as that every particle attracts every other particle in the universe with a force that is directly proportional to the product of their masses and inversely proportional to the square of the distance between their centers.

Wikipedia

Variables

SymbolQuantityUnitsDescription
Force N Gravitational Force
Gravitational Constant (6.674×10−11) * m ^ 3 / (kg * s ^ 2) Gravitational Constant
Mass kg mass of object 1
Mass kg mass of object 2
Length m distance between masses

Solve

Python