Now consider the partition to be free to move without friction so that the pressure of gases in both compartments is the same. Then total work done by the gases till the time they achieve equilibrium will be
The piston on top is free and frictionless, so the gas pressure stays fixed by the piston and the atmosphere; with the partition also free, both gases change temperature at this constant pressure.
The container is insulated, so the heat lost by the monatomic gas at constant pressure equals the heat gained by the diatomic gas at constant pressure:
At constant pressure the work done by a gas is .
Monatomic gas: .
Diatomic gas: .
Total work done by the gases: .
Hence, the correct option is (D).
Tagged Multi-step processes and gas-piston-spring systems. Machine-assigned, so read it as a strong shortlist rather than a verdict.