Imagine that we have two identical pistons of ideal gas in the same initial states at room temperature. Piston 1 is free to move up or down. Piston 2 is fixed so it maintains a constant volume. We put both systems into a reservoir of hot water and let them come to equilibrium. Which statement about this situation is true?
They will both come to the same final temperature (the reservoir temperature) so the changes in internal energy will be the same. More heat is needed for piston 1, however, because it does work.