A gas occupies a semi-infinite cylindrical pipe (x>0) terminated by a valve. At time t=0, the valve is opened, and the gas flows into the external medium, the pressure pe in which is less than the initial pressure p0 in the pipe. Determine the resulting flow.