Mathematically, the motion of the gas in the tube can be expressed with gas dynamic equations:

where is the gas dynamic constant.