//Length of tube above surface(in m): l=1; //Depth of exit below water surface(in m): z=7; //Acceleration due to gravity(in m/sec^2): g=9.81; //Density of water(in kg/m^3): d=999; //Atmospheric pressure(in N/m^2): p1=1.01*10^5;