A sample of 0.500 mol of nitrogen expands irreversibly from a volume of 5.00 L to a volume of 10.00 L at a constant external pressure of 1.000 atm (101,325 Pa). Assume that P(transmitted) is equal to P_{ext}. Calculate w for the process. Explain why the result does not depend on the temperature or the amount of gas. Does it matter if the gas is ideal or nonideal?