### Formula

U

gravitational potential energy

G

gravitational constant (6.673848e-11 m3/(kg s2))

M

mass

m

mass

r

distance between M and m

U

gravitational potential energy

G

gravitational constant (6.673848e-11 m3/(kg s2))

M

mass

m

mass

r

distance between M and m

Gravitational energy is the potential energy associated with gravitational force. If an object falls from one point to another point inside a gravitational field, the force of gravity will do positive work on the object, and the gravitational potential energy will decrease by the same amount. Assume the constant of integration K=0.

G

M

m

r

U

Precision

- C
- C#
- C++
- Java
- JavaScript
- LaTeX
- PHP