Discuss the below in detail:
Q: A cylinder fitted with a piston contains ammonia at 120 F, 20% quality with a volume of 60 in 3. The ammonia expands slowly, and during this process heat is transferred to maintain a constant temperature. The process continues until all the liquid is gone. Determine the work and heat transfer for this process.