Solve the below:
Q: One pound mass of ammonia (NH3) is contained in a linear spring-loaded piston/cylinder as saturated liquid at 0 F. Heat is added from a reservoir at 225 F until a final condition of 125 lbf/in 2, 160 F is reached. Find the work, heat transfer, and entropy generation, assuming the process is internally reversible.