- #36
- 23,591
- 5,833
This problem is really straightforward if one chooses as the "system" the combination of gas plus piston. Then, from the first law of thermodynamics, we have: $$dU=(nC_v+C)dT=-PdV=-\frac{nRT}{V}dV$$where n is the number of moles of gas, Cv is the molar heat capacity of the gas, and C is the heat capacity of the piston.