Given data:
* The mass of the ball is m = 5 kg.
* The height of the ball is h = 12 m.
Solution:
The potential energy of the ball is,
where g is the acceleration due to gravity,
Substituting the known values,
Thus, the potential energy of the ball is 588 J