The gravitational potential energy of an object is given by

where m is the mass of the object, g the gravitational acceleration, and

is the height of the object with respect to a reference point.
In our problem, the potential energy is U=375 J and the altitude of the object is

, so by re-arranging the equation we can find the mass of the ball:
