An insulated piston/cylinder contains R-410 at 20°C, 85% quality, at a cylinder volume
of 50 L. A valve at the closed end of the cylinder is connected to a line flowing R-410 at 2 MPa, 60°C. The valve is now opened, allowing R-410 to flow in, and at the same time the external force on the piston is decreased, and the piston moves. When the valve is closed, the cylinder contents are at 800 kPa, 20°C, and a positive work of 50 kJ has been done against the external force. What is the final volume of the cylinder? Does this process violate the second law of thermodynamics?