Write a program to solve the following problem. One of the gases listed in Table A.6 undergoes a reversible adiabatic process in a cylinder from P1, T1 to P2. We wish to calculate the final temperature and the work for the process by three methods:
a. Integrating the specific heat equation.
b. Assuming constant specific heat at temperature, T1.
c. Assuming constant specific heat at the average temperature (by iteration).
![1996_f1d43b7b-41c5-47f9-ad3e-f84ed350f73c.png](https://secure.tutorsglobe.com/CMSImages/1996_f1d43b7b-41c5-47f9-ad3e-f84ed350f73c.png)