summaryrefslogtreecommitdiff
path: root/797/CH3/EX3.7.e/3_07_example.sci
blob: a1c7254a6e498d78eaa6a0d09623a4e8fcb9921e (plain)
1
2
3
4
5
6
7
8
9
//Example 3-07 Analyzing Multifluid manometer
P_atm = 85.6 //Atmospheric pressure at 1400m altitude [kPa]
P_1 = 130 // Air pressure in tank [kPa]
h_1 = 0.1 //differnce of water and oil level in manometer [m]
h_2 = 0.2 //difference between water and mercury level in manometer [m]
rho_water = 1000 //density of water [kg/m^3]
rho_oil = 850 //density of oil [kg/m^3]
rho_seawater = 1030//density of seawater [kg/m^3]
g = 9.81 //gravitational acceleration [m^2/s]