A piston-cylinder assembly has a volume of 0.3 m3 and contains 1.5 kg of water at 0.5 MPa. Heat is transferred to the system until the temperature is 400 oC, while the pressure remains constant. Determine the work [kJ] and the heat transfer [kJ] for this process and show the process in T-v diagram.