Five kilograms of water are contained in a closed rigid tank at an initial pressure of 20 bar and a quality of 50%. Heat transfer occurs until the tank contains only saturated vapor. Determine the volume of the tank, in m^3, and the final pressure, in bar. Also, show the process on both a P-v and T-v diagram.