Over a cycle, the internal energy is the same at the beginning and end, so the heat Q absorbed equals the work done: Q=W. Over the portion of the cycle from A to B the pressure p is a linear function of the volume V, and we may write p=a+bV. The work done over this portion of the cycle isWAB=∫VBVApdV=∫VBVA(a+bV)dV=a(VB−VA)+12b(V2B−V2A)
The BC portion of the cycle is at constant pressure, and the work done by the gas is
WBC=pBΔVBC=pB(VC−VB)
The CA portion of the cycle is at constant volume, so no work is done. The total work done by the gas is
W=WAB+WBC+ECA
The pressure function can be written as
p=103Pa+(203Pa/m3)V.
where the coefficient a and b were chosen so the p=10 Pa when V=1.0 m3 and p=30 Pa whenV=4.0 m3. Therefore, the work done going from A to B is
WAB=a(VB−VA)+12b(V2B−V2A)
=(103Pa)(4.0 m3−1.0 m3)+12(203Pa/m3)[(4.0 m3)2−(1.0 m3)2]
=10 J+50 J=6 J
Similarly, with pB=pC=30 Pa,VC=1.0 m3, and VB=4.0 m3, we have
WBC=pB(VC−VB)=(30 Pa)(1.0 m3−4.0 m3)=90 J.
Adding up all contributions, we find the total work done by the gas to be
W=WAB+WBC+WCA=60 J−90 J+0=−30 J.