The amount of potential energy, P, an object has is equal to the product of its mass, m, its height off the ground, h, and the gravitational constant, g. This can be modeled by the equation P = mgh. What is the equivalent equation solved for h?

A. (p/m)/g=h

B. p/mg=h

C. Pmg=h

D. p/(m/g)=h