A 1.20 mol sample of an ideal diatomic gas at a pressure of 1.20 atm and temperature 380 K undergoes a process in which its pressure increases linearly with temperature. The final temperature and pressure are 680 K and 1.83 atm. (assume 5 active degrees of freedom)
b. Determine the work done by the gas.
(Since volume, pressure, and temperature all change, I'm not sure where to go from there with PV=nRT.)