physics.potential_energy

Functions

potential_energy(→ float)

Module Contents

physics.potential_energy.potential_energy(mass: float, height: float) float
>>> potential_energy(10,10)
980.665
>>> potential_energy(0,5)
0.0
>>> potential_energy(8,0)
0.0
>>> potential_energy(10,5)
490.3325
>>> potential_energy(0,0)
0.0
>>> potential_energy(2,8)
156.9064
>>> potential_energy(20,100)
19613.3