### Formula

h

altitude of the object.

U

potential energy

m

mass

g

gravity acceletion

h

altitude of the object.

U

potential energy

m

mass

g

gravity acceletion

potential energy is the energy stored in a body or in a system due to its position in a force field or due to its configuration.

U

m

g

h

Precision

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