its potential energy is (g= acceleration due to gravity)