I've been reading thermodynamics basics for chemistry here.
Consider a constant pressure process where the gas is sealed :
Here the work done by the system is $p_{ext}(V_f-V_i)$. So far so good. Khan academy link says that a process done with out a lid is also a constant pressure process. I don't get this. Wouldn't the gas simply escape from the container since the lid is open ? Also how to calculate the change in volume ? Appreciate any help. Thanks!