Consider a control mass that is initially at rest and at the elevation of some reference level. Let this mass be acted on by a vertical forceF of such magnitude that it raises (in elevation) the mass with constant velocity an amount dZ. Let the acceleration due to gravity at this point be g. From the first law, Eq5:
δW = −F dZ = −d EP
F = ma = mg
Then:
d EP = F dZ = mg dZ
Integrating gives:
∫
EP2
EP1 = 0
dEP = m
∫
Z2
Z1
g dZ
Assuming that g does not vary with Z (which is a very reasonable assumption for moderate changes in elevation), the following is obtained: