(a) Using the equation of state $p V=N R T$ and the specific heat per mole $C_v=3 R / 2$ for a monatomic ideal gas, find its Helmholtz free energy $F$ as a function of number of moles $N, V$, and $T$.
(b) Consider a cylinder separated into two parts by an adiabatic, impermeable piston. Compartments $a$ and $b$ each contains one mole of a monatomic ideal gas, and their initial volumes are $V_{a i}=10$ litres and $V_{b i}=1$ litre, respectively. The cylinder, whose walls allow heat transfer only, is immersed in a large bath at $0^{\circ} \mathrm{C}$. The piston is now moved reversibly so that the final volumes are $V_{a t}=6$ and $V_b=5$ litres. How much work is delivered by (or to) the system?