Solve the below problem:
Q: A cylinder fitted with a frictionless piston contains 4 lbm of superheated refrigerant R-134a vapor at 400 lbf/in 2, 200 F. The cylinder is now cooled so the R-134a remains at constant pressure until it reaches a quality of 75%. Calculate the heat transfer in the process.