Write a program to solve a problem similar to Problem 6.103, but instead of the ideal gas tables, use the formula for the specific heat as a function of temperature in Table A.6.
![2444_6f7ca2a2-63f4-43d4-8204-213b3e3bb6d9.png](https://secure.tutorsglobe.com/CMSImages/2444_6f7ca2a2-63f4-43d4-8204-213b3e3bb6d9.png)
Problem 6.103
A cylinder/piston contains 1 kg methane gas at 100 kPa, 300 K. The gas is compressed reversibly to a pressure of 800 kPa. Calculate the work required if the process is adiabatic.