summaryrefslogtreecommitdiff
path: root/2789/CH9/EX9.10/Ex9_10.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.10/Ex9_10.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.10/Ex9_10.sce')
-rwxr-xr-x2789/CH9/EX9.10/Ex9_10.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2789/CH9/EX9.10/Ex9_10.sce b/2789/CH9/EX9.10/Ex9_10.sce
new file mode 100755
index 000000000..b443c691c
--- /dev/null
+++ b/2789/CH9/EX9.10/Ex9_10.sce
@@ -0,0 +1,15 @@
+clear;
+clc;
+
+//page no. 305
+Q = 90;//gpm
+d = 3;//in
+l = 3000;//ft
+V = Q/(60*7.48*0.25*%pi*(d/12)^2);
+R_h = (d/12)/4;
+C_hw = 140;
+S = (V/(1.318*140*R_h^0.63))^(1/0.54);
+h_L = S*l;
+printf('The loss of head = %.1f ft of water',h_L);
+
+//there is a minute error in the answer given in textbook