summaryrefslogtreecommitdiff
path: root/3814/CH8/EX8.7/Ex8_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3814/CH8/EX8.7/Ex8_7.sce')
-rw-r--r--3814/CH8/EX8.7/Ex8_7.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3814/CH8/EX8.7/Ex8_7.sce b/3814/CH8/EX8.7/Ex8_7.sce
new file mode 100644
index 000000000..34947701c
--- /dev/null
+++ b/3814/CH8/EX8.7/Ex8_7.sce
@@ -0,0 +1,17 @@
+// maximum height that the pump
+clc
+Q=3.5e-3
+nphs=4.5
+t=15
+d=0.1
+patm=101e3
+g=9.8
+k=20
+V=(4*Q)/(%pi*d^2)
+mprintf('\n Velocity in the suction pipe V =Q/A %f m/s',V)
+h1=(k*V^2)/(2*g)
+mprintf('\n h1= %f m',h1)
+pv=1666
+z1=(patm/9800)-(h1)-(pv/9800)-nphs
+mprintf('\n z1 = %f m',z1)
+mprintf('\n the pump should be located higher than %f m above the water surface ',z1)