Carbon monoxide is carried around a closed cyclic processes abc, in which bc is an isothermal process, as shown in figure. The gas absorbs 7000 J of heat as its temperature is increased from 300 K to 1000 K in going from a to b. The quantity of heat ejected by the gas during the process ca is