Solve the below problem:
Q: A cylinder/piston contains air at ambient conditions, 100 kPa and 20°C with a volume of 0.3 m3. The air is compressed to 800 kPa in a reversible polytropic process with exponent, n=1.2, after which it is expanded back to 100 kPa in a reversible adiabatic process.
a. Show the two processes in P-v and T-s diagrams.
b. Determine the final temperature and the net work.
c. What is the potential refrigeration capacity (in kilojoules) of the air at the final state?