//Acceleration due to gravity(in ft/sec^2): g=32.2; //Specific gravity of mercury: SGm=13.6; //Specific gravity of oil: SGo=0.88; //Specific gravity of water: SGw=1; //Density of water(in slug/ft^3): d=1.94; //Heights of liquid in various tubes(in inches): d1=10; d2=3; d3=4; d4=5; d5=8;