Refrigerant-134a enters a compressor as a saturated vapor at 200 kPa at a rate of 0.03 m3/s and leaves at 700 kPa. The power input to the compressor is 10 kW. If the surroundings at 20°C experience an entropy increase of 0.008 kW/K, determine
(a) the rate of heat loss from the compressor,
(b) the exit temperature of the refrigerant, and (c) the rate of entropy generation.