Two kilograms of water undergo a process from an initial state where the pressure is 2.5 MPa and the temperature is 400°C to a final state of 2.5 MPa, 100° C. Determine the entropy change of the water, in kJ/K, assuming the process is
(a) irreversible.
(b) internally reversible.