\( 4 \times 10^5 \, \text{J} \)
\( 6 \times 10^5 \, \text{J} \)
Given:
1 atm = \( 1.013 \times 10^5 \, \text{Pa} \)
\[ P = 2 \, \text{atm} = 2 \times 1.013 \times 10^5 = 2.026 \times 10^5 \, \text{Pa} \]
The work done by the gas is given by the formula: \[ W = P \Delta V = P (V_2 - V_1) \] where \( \Delta V = V_2 - V_1 \) is the change in volume.
\[ W = (2.026 \times 10^5 \, \text{Pa}) \times (3 - 1) \, \text{m}^3 \] \[ W = 2.026 \times 10^5 \times 2 = 4.052 \times 10^5 \, \text{J} \]
The work done by the gas during the expansion is \( \boxed{4 \times 10^5 \, \text{J}} \).