📜  如何模拟重力 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:10.429000             🧑  作者: Mango

代码示例1
The Formular is this:

G = F * (m1 * m2 / r²)

G: The Gravity
F: Force the object is moving with
m1 * m2: Masses of both objects
r: the distance between the two objects