summaryrefslogtreecommitdiff
path: root/2789/CH9/EX9.15/Ex9_15.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2789/CH9/EX9.15/Ex9_15.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2789/CH9/EX9.15/Ex9_15.sce')
-rwxr-xr-x2789/CH9/EX9.15/Ex9_15.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/2789/CH9/EX9.15/Ex9_15.sce b/2789/CH9/EX9.15/Ex9_15.sce
new file mode 100755
index 000000000..23a5cc14a
--- /dev/null
+++ b/2789/CH9/EX9.15/Ex9_15.sce
@@ -0,0 +1,24 @@
+clear;
+clc;
+
+//page no. 324
+
+Q = 2.5;//cfs
+T = 50;//degreeF
+d1 = 8;//in
+d2 = 6;//in
+l1 = 1000;//ft
+l2 = 2000;//ft
+V8 = Q/(0.25*%pi*(d1/12)^2);
+V6 = Q/(0.25*%pi*(d2/12)^2);
+R8 = V8*0.667/0.0000141;
+f8 = 0.020;
+R6 = V6*0.5/0.0000141;
+f6 = 0.019;
+h_L8 = f8*(l1/0.667)*(V8^2 /(2*32.2));
+h_L6 = f6*(l2/0.5)*(V6^2 /(2*32.2));
+Ep = 100+h_L8+h_L6;
+n = Q*62.4*(Ep)/550;
+V8 = sqrt((30/f8)*2*32.2/(l1/0.667));
+Q_max = V8*0.25*%pi*(d1/12)^2;
+printf('Maximum reliable flow that can be pumped = %.1f cfs',Q_max);