A water vapour filling the space under the piston of a cylinder is compressed (or expanded) so that it remain saturated all the time,being just on the verge of condensation. Find the molar heat capacity of the vapour in this process as a function of temperature T assuming the vapour to be an ideal gas and neglecting the specific volume of water in comparison with that of vapour.
My attempt is shown in the figure that follows
I am mainly concerned with two points in this- 1. I think that the number of moles of gas in the container will not remain constant. So the dn term in my solution cannot be put to zero. 2. Does the solution take in account the heat given to water to turn it into vapour?