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/CH9/EX9.16/Ex9_16.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 2789/CH9/EX9.16/Ex9_16.sce (limited to '2789/CH9/EX9.16/Ex9_16.sce') diff --git a/2789/CH9/EX9.16/Ex9_16.sce b/2789/CH9/EX9.16/Ex9_16.sce new file mode 100755 index 000000000..18e9d2f76 --- /dev/null +++ b/2789/CH9/EX9.16/Ex9_16.sce @@ -0,0 +1,19 @@ +clear; +clc; + +//page no. 327 + +Q = 5;//cfs +d = 12;//in +l = 5000;//ft +h = 70;//ft +L = 2000;//ft +K = (h/Q^1.85); +a = (L/l)*K; +b = ((l-L)/l)*K; +Q_ = (h/((b+a*(0.5^(1.85)))))^(1/1.85); +Q_A = Q_/2; +Q_B = Q_/2; +del = Q_-Q;//gain capcaity +percent = (del/Q)*100;//gain percentage +printf('The gain of capacity by looping the pipe is %.1f cfs or %d percentage',del,percent); -- cgit