Potential Energy

Energy can get stored in an object when work is done on it.

For example, stretching a rubber string. The energy that is possessed by a body by virtue of its configuration or change in position is known as Potential Energy.

The potential energy of an object at a height.
When an object is raised to a certain height, work is done against gravity to change its position. This energy is stored as Potential Energy.

W = F.s

F = ma
In the case of increasing the height, F = mg

Therefore, W (P.E) = mgh
⇒ ΔPE = mg(hfinal - hinitial )