summaryrefslogtreecommitdiff
path: root/1268/CH9/EX9.4/9_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1268/CH9/EX9.4/9_4.sce')
-rw-r--r--1268/CH9/EX9.4/9_4.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1268/CH9/EX9.4/9_4.sce b/1268/CH9/EX9.4/9_4.sce
new file mode 100644
index 000000000..f7b1ab67a
--- /dev/null
+++ b/1268/CH9/EX9.4/9_4.sce
@@ -0,0 +1,11 @@
+clc;
+disp("Example 9.4")
+reading=9.7e-3 // of manometer in m
+g=9.81
+densitym=13600 /// in kg/m^3
+density=1200 // of water in kg/m^3
+delP=g*reading*(densitym-density)
+U=84/60
+b=0.333
+c=U*((density*(1-b^4)/(2*delP))^0.5)
+disp(c,"The venturi coefficient is ")