A rigid tank contains 1.5 kg of water at 120°C and 500 kPa. Now 22 kJ of shaft work is done on the system and the final temperature in the tank is 95°C. If the entropy change of water is zero and the surroundings are at 15°C, determine
(a) The final pressure in the tank,
(b) The amount of heat transfer between the tank and the surroundings, and
(c) The entropy generation during this process.