The work done by the gas in the process will be the area under the loop ABCDA . We can divide the loop ABCDA In two loops, which are ABCA and DEFD . Loops ABCA and DEFD Are semi-elliptical shapes.
The area of an ellipse is πab , where a and b are the lengths of semi major axis and the length of semi minor axis. Length of a for semi ellipse ABCA is 4Litre−3Litre=1Litre . Length of b for semi ellipse ABCA is 4atm−2atm=2atm . Length of a for semi ellipse DEFD is 3.5Litre−3Litre=0.5Litre . Length of b for semi ellipse ABCA is 2atm−1atm=1atm .
So the work done W by the gas is, W=WABCA+WDEFD W=21(π×1Litre×2atm)+21(π×0.5Litre×1atm) W=45πatmL
As the curve ABCDA is created by anti-clockwise movement, the work done will be negative. So, W=−45πatmL