A cylinder closed by a piston contains N moles of a diatomic gas characterised by U = (5/2) NRT and by pV = NRT, as in exercise 4.1. The gas has a temperature T when it is brought in contact with a heat reservoir at temperature T_{ext}, causing an irreversible process to occur. The pressure p of the gas is equal to the constant pressure p_{ext} of the environment at all times, i.e. p = p_{ext} = const. Determine the amount of heat exchanged.
Numerical Application:
N = 0.5 mol, T = 450 K and T_{ext} = 300 K.