Relationship between mass, height, and potential energy