A steel piston/cylinder of 1 kg contains 2.5 kg ammonia at 50 kPa, -20?C. Now it is heated to 50?C at constant pressure through the bottom of the cylinder from external hot gas at 200?C, and we assume the steel has the same temperature as the ammonia. Find the heat transfer from the hot gas and the total entropy generation.