From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2789/CH11/EX11.5/Ex11_5.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 2789/CH11/EX11.5/Ex11_5.sce (limited to '2789/CH11/EX11.5') 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 -- cgit