summaryrefslogtreecommitdiff
path: root/2513/CH13/EX13.6/13_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2513/CH13/EX13.6/13_6.sce')
-rwxr-xr-x2513/CH13/EX13.6/13_6.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2513/CH13/EX13.6/13_6.sce b/2513/CH13/EX13.6/13_6.sce
new file mode 100755
index 000000000..6bfd57839
--- /dev/null
+++ b/2513/CH13/EX13.6/13_6.sce
@@ -0,0 +1,19 @@
+clc
+//initialisation of variables
+h1=2.1*3//ft
+h2=2.1//ft
+h=8.4//ft
+p=1000//ft
+h3=5.7//ft
+h4=4.2*3//ft
+q=4.2//ft
+s=1.68//ft
+q1=1.33//ft
+//CALCULATIONS
+A=p*h/h2//ft
+B=p*(h3+h4)/q//ft
+C=p*(h1+h2)/s//ft
+//RESULTS
+printf('the equilent pipe for the Hazen willians coefficent=% f ft',A)
+printf('the equilent pipe for the Hazen willians coefficent=% f ft',B)
+printf('the equilent pipe for the Hazen willians coefficent=% f ft',C)