The temperature of n moles of an ideal gas is increased from T to 4T through a process for which pressure P = aT^(-1) where a is a constant. Then the work done by the gas is