diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2789/CH11/EX11.5 | |
download | Scilab-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/CH11/EX11.5')
-rwxr-xr-x | 2789/CH11/EX11.5/Ex11_5.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/2789/CH11/EX11.5/Ex11_5.sce b/2789/CH11/EX11.5/Ex11_5.sce new file mode 100755 index 000000000..aab36dd7d --- /dev/null +++ b/2789/CH11/EX11.5/Ex11_5.sce @@ -0,0 +1,22 @@ +clear;
+clc;
+
+//page no. 422
+
+d = 3;//in
+l = 6;//in
+h = 6;//in
+T = 60;//degreeF
+
+Cv= 0.99;
+A1 = 0.25*%pi*(d/12)^2;
+Q = Cv*A1*sqrt(2*32.2*(h/12)*(13.55-1)) /(sqrt(1-0.25^2));
+Cv_true = 0.988;
+Q_true = Q*Cv_true/Cv;
+h_L = 3.8;
+
+printf('Q = %.3f cfs',Q);
+printf('\n True Q = %.3f cfs',Q_true);
+printf('\n Total head loss is about %.1f ft of water',h_L);
+
+//there are small errors in the answer given in textbook
|