2–40 Water is being heated in a closed pan on top of a range while being stirred by a paddle wheel.During the process, 30 kJ of heat is transferred to

the water, and 5 kJ of heat is lost to the surrounding air. The paddle-wheel work amounts to 500 N-m. Determine the final energy of the system if its initial energy is 12.5 kJ.

Fig: 1