A piston/cylinder of total 1 kg steel contains 0.5 kg ammonia at 1600 kPa both masses at 120°C. Some stops are placed so a minimum volume is 0.02 m3, . Now the whole system is cooled down to 30°C by heat transfer to the ambient at 20°C, and during the process the steel keeps same temperature as the ammonia. Find the work, the heat transfer and the total entropy generation in the process.