Chapter 5: Problem 184
A piston-cylinder device initially contains 2 kg of refrigerant-134a at \(800 \mathrm{kPa}\) and \(80^{\circ} \mathrm{C}\). At this state, the piston is touching on a pair of stops at the top. The mass of the piston is such that a 500 -kPa pressure is required to move it. A valve at the bottom of the tank is opened, and R-134a is withdrawn from the cylinder. After a while, the piston is observed to move and the valve is closed when half of the refrigerant is withdrawn from the tank and the temperature in the tank drops to \(20^{\circ} \mathrm{C}\). Determine \((a)\) the work done and \((b)\) the heat transfer.