A piston was moved in a cylinder with a 0.08 m3 gas at 4 bar to compress the gas to 0.05 m3 according to the law pv1.2=constant. Calculate the work done on the gas and sketch the process on a p-v diagram. At the inlet of a condenser, steam flows steadily with a specific enthalpy of 2500 kJ/kg and a velocity of 350 m/s. The condensate leaves the outlet of the condenser with a specific enthalpy of 160 kJ/kg and a velocity of 70 m/s. If the inlet of the condenser is 5 m above the outlet, calculate the heat transfer to the cooling fluid per kilogram of steam condensed.