Air is compressed in a piston–cylinder device from 100 kPa and 17°C to 800 kPa in a reversible, adiabatic process. Determine the final temperature and the work done during this process, assuming
(a) constant specific heats and
(b) variable specific heats for air.