//Area of 1 (in ft^2): A1=0.2; //Area of 2 (in ft^2): A2=0.5; //Area of 3 (in ft^2): A3=0.4; //Area of 4 (in ft^2): A4=0.4; //Density of water (in slug/ft^3): d=1.94; //Mass flow rate out of section 3(in slug/sec): m3=3.88; //Volme flow rate in section 4 (in ft^3/sec): Q4=1; //Velocity at 1(in ft/sec): V1=10;