Two litres of an ideal gas at a pressure of 10 atm expands isothermally into a vacuum until its total volume is 10 litres. How much heat is absorbed and how much work is done in the expansion ?