diff options
Diffstat (limited to '3821/CH7/EX7.12/Example7_12.sce')
-rw-r--r-- | 3821/CH7/EX7.12/Example7_12.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/3821/CH7/EX7.12/Example7_12.sce b/3821/CH7/EX7.12/Example7_12.sce new file mode 100644 index 000000000..f2c38953b --- /dev/null +++ b/3821/CH7/EX7.12/Example7_12.sce @@ -0,0 +1,21 @@ +///Chapter No 7 Fluid Mechanics
+///Example 7.12 Page No 122
+/// Find Intensity of pressure of water
+///Input data
+clc;
+clear;
+Z1=1.5; //open tank contain water in m
+Z2=2.5; //oil of specific gravity for depth in m
+S=0.9; //oil of specific gravity
+rho1=1000; //density of water in Kg/m**3
+rho2=S*10^3; //density of oil in Kg/m**3
+g=9.81; //gravity
+
+
+
+///calculation
+P=rho1*g*Z1+rho2*g*Z2; //Intensity of pressure in kPa
+
+
+///output
+printf('intensity of pressure=%f N/m^2 \n',P);
|