An ideal gas system undergoes an isothermal process, then the work done during the process is:
Work done by a system under isothermal change from a volume V1 to V2 for a gas which obeys Vander Waal's equation (V−βn)(P+αn2V)=nRT