A piston–cylinder device with a set of stops initially contains 0.6 kg of steam at 1.0 MPa and
4008C. The location of the stops corresponds to 40 percent of the initial volume. Now the
steam is cooled. Determine the compression work if the final state is (a) 1.0 MPa and 250 ℃
and (b) 500 kPa. (c) Also determine the temperature at the final state in part (b).