A piston cylinder contains 1 kg of R-134a and undergoes a reversible compression process. During the process the R-134a also loses 37 kJ of heat to the environment. If the temperature of the piston remains a constant 20 oC and the initial the pressure of the refrigerant is 240 kPa, determine the work required to compress the system