Refrigerant 134a, initially (state 1) a saturated liquid at-80C, is contained in a piston-cylinder assembly. The waterundergoes a process to the corresponding saturated vapor (state 2),during which the piston moves freely in the cylinder. The change ofstate is brought about by heating the water as it undergoes aninternally reversible process at constant pressure and temperature.If the mass of the refrigerant is 0.1 kg, determine (a) heattransfer using first law of thermodynamics in kJ and (b) heattransfer using second law of thermodynamics in kJ.