Solve the below problem:
Q: Air is cooled as it flows through a 20-cm-diameter duct. The inlet conditions are Ma1 = 1.2, T01 = 350 K, and P01 = 240 kPa and the exit Mach number is Ma2 = 2.0. Disregarding frictional effects, determine the rate of cooling of air. You should solve the problem in a step by step.You must include all the units which are needed to solve the given problem.