an ideal gas expands at a constant total pressure of 2.6 atm from 500 mlml to 670 mlml . heat then flows out of the gas at constant volume, and the pressure and temperature are allowed to drop until the temperature reaches its original value.Calculate: (a) the total work done by the gas in the process.(b) the total heat flow into the gas.