A system consisting of 1 kg of water undergoes a cycle composed of the following processes:
Process 1-2: constant-volume heating from p1 = 500 kPa, T1 = 160°C to p2 = 1000 kPa.
Process 2-3: constant-pressure process to saturated vapor.
Process 3-4: constant-volume cooling.
Process 4-1: isothermal expansion with Q41 = 815.8 kJ.
Neglecting kinetic and potential energies, determine the work and heat transfer for each process, all in kJ.