One mole of an ideal gas (not necessarily monoatomic) is subjected to the following sequence of steps.
(a) It is heated at constant volume from 298 K to 373 K
(b) It is expanded freely into a vacuum to double volume at 373 K.
(c) It is cooled reversibly at constant pressure to 298K.
Calculate q, w, and for the overall process in joule.
Written answer: work it out on paper, then compare.