In a steam engine, steam in a cylinder expands against a piston, exerting 10 atm of external pressure. The volume of the cylinder increases by 10 L and simultaneously the steam cools, losing 3,000 kJ of energy to the surroundings. What is the change in energy of the steam