Imagine that you have a 1 cubic meter metal box with two 20 mm diameter holes. One of them is connected to an air-compressor that constantly pressurizes the inside of cube. Let's say 5 atm. The other hole is opened to air (1 atm). So my questions start at this point:
1) How can you calculate pressure inside of box at a given time? After adequate time (after there are no more changes in pressure over time) what is the last result pressure in the box ?
2) After adequate time (when is pressure stabilized), if I stop the compressor, when will the pressure inside the box be 1 atm?
Excuse me, I gave these numbers just to make it more understandable because I'm not a native English speaker. If there is lack of any data please add data by yourself.