A cylinder of volume $0.1 \mathrm{~m}^{3}$ is filled with nitrogen at $10 \: \mathrm{MPa}$ and $300 \: \mathrm{K}$. Consider nitrogen to be an ideal gas. The cylinder develops a leak and nitrogen escapes to atmosphere which is at $0.1 \: \mathrm{MPa}$. After sometime, the pressure in the cylinder reduces to $5 \: \mathrm{MPa}$. Assuming the cylinder and the leaked gas temperature remains constant at $300 \: \mathrm{K}$, the work done (in $\mathrm{MJ}$) by nitrogen gas is
- $0.1$
- $1$
- $0.5$
- $10$