(b) Amount of heat given $= 540\ calories$
Change in volume $\mathrm{\Delta}V = 1670\ c.c$
Atmospheric pressure $P = 1.01 \times 10^{6}\ dyne/cm^{2}$
Work done against atmospheric pressure
$W = P\mathrm{\Delta}V = \frac{1.01 \times 10^{6} \times 1670}{4.2 \times 10^{7}} = 40\ cal$