A gas undergoes change from state A to state B. In this process, the heat absorbed and work done by the gas is 5J and 8J, respectively. Now gas is brought back at A by another process during which 3J of heat is evolved. In this reverse process of B to A:
ΔUAB=q+w=+5+(−8)=−3
q=−3,ΔUBA=+3
ΔUBA=q+w
⇒3=−3+w⇒w=+6
ΔUBC=−5kJmol−1,qAB=2kJmol−1
WAB=−5kJmol−1,WCA=3kJmol−1 (work done on the system).