//Distance f piston from closed end of the cylinder at the give instant(in m): L=0.15; //Density of gas(in kg/m^3): d=18; //Velocity of piston(in m/sec): V=12;