The work A done by the gas during the cycles determined by the area of the p-V diagram bounded by the cycle, i.e. by the area of the trapezoid (see Fig. 57):

All these quantities can easily be expressed in terms of pressure and volume p1 and V1 at point 1. Indeed, according to Charles's law, V3 = V2T3/ T2 = V1T3/ T2 and V4 = V1T4/ T1 = V1T2/T1, while the Gay-Lussac law implies that p2 = p1T2/T1. Substituting these values into the expression for work, we obtain

The equation of state for n moles of an ideal gas is p1V1 = nR T1, and we can finally write
