summaryrefslogtreecommitdiff
path: root/2513/CH2/EX2.5/2_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '2513/CH2/EX2.5/2_5.sce')
-rwxr-xr-x2513/CH2/EX2.5/2_5.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/2513/CH2/EX2.5/2_5.sce b/2513/CH2/EX2.5/2_5.sce
new file mode 100755
index 000000000..e32e6a511
--- /dev/null
+++ b/2513/CH2/EX2.5/2_5.sce
@@ -0,0 +1,27 @@
+clc
+//initialisation of variables
+r=10000//ft
+l=400000//people
+q=1000000//mgd
+w=100//gpcd
+w1=150//gpcd
+m=50//percent
+g=1.5//ft
+h1=2.32//cfs
+h2=139//cfs
+d=12//ft
+c=100//ft
+l=10.8//ft
+l2=0.85//ft
+l1=1000//ft
+//CALCULATIONS
+a=r*w/q//mgd
+b=l*w1/q//mgd
+a1=a*g//mgd
+b1=b*g//mgd
+D=d*sqrt(h1/%pi)//in
+D1=d*sqrt(h2/%pi)//in
+L=l/l1//ft
+L1=l2/l1//ft
+//RESULTS
+printf('the higher loss of head in small conduits at equal velocity=% f ft',L1)