Water in a piston/cylinder is at 100degC, x=0.5 with mass 1kg and the piston rests on two stops. The equilibrium pressure that will float the piston is 300 kPa. The water is heated to 300degC by an electrical heater.

a) At what temperature would all the liquid be gone?

I started by using the information given to find the initial specific volume. Then I considered that since all the liquid is gone, the quality would be x=1 or that the second specific volume, v_2 = v_g1.

I'm just not sure if I'm going about this question correctly.

b) Find the work and the heat transfer in the process.