as shown in Fig. How much work is done by the expanding gas?