Anonymous A. answered 06/25/22
Engineering professional supporting your math and physics needs
Since energy is not lost but converted from one form to another, the thermal energy gained = potential energy lost. Since the potential energy lost = g*mass*height you can find the thermal energy gained.
r/Charles