Work and energy calorimetry cup problem