summaryrefslogtreecommitdiff
path: root/2132/CH5/EX5.14/Example5_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '2132/CH5/EX5.14/Example5_14.sce')
-rwxr-xr-x2132/CH5/EX5.14/Example5_14.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2132/CH5/EX5.14/Example5_14.sce b/2132/CH5/EX5.14/Example5_14.sce
new file mode 100755
index 000000000..ea38e24a0
--- /dev/null
+++ b/2132/CH5/EX5.14/Example5_14.sce
@@ -0,0 +1,19 @@
+//Example 5.14
+clc;
+clear;
+close;
+format('v',5);
+//Given data :
+D1=320/1000;//meter
+D2=224/1000;//meter
+g=9.81;//gravity constant
+Q=25000/1000/60;//m^3/sec
+A1=%pi*D1^2/4;//m^2
+A2=%pi*D2^2/4;//m^2
+C=0.4984;//venturi constant
+K=0.92;//Coeff. of meter
+h=(Q/K/C)^2
+S=1;//sp. gravity
+Sm=13.6;//sp. gravity
+x=h/(Sm/S-1);//meter of water
+disp(x*1000,"Deflection in manometer(mm) : ");