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 --- 1358/CH3/EX3.11/Example311.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 1358/CH3/EX3.11/Example311.sce (limited to '1358/CH3/EX3.11') diff --git a/1358/CH3/EX3.11/Example311.sce b/1358/CH3/EX3.11/Example311.sce new file mode 100755 index 000000000..c5c3aaaa0 --- /dev/null +++ b/1358/CH3/EX3.11/Example311.sce @@ -0,0 +1,22 @@ +// Display mode +mode(0); +// Display warning for floating point exception +ieee(1); +clear; +clc; +disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 3, Example 11") +Cv = 2.08; +g = 9.81; +H = 5.5; +Cv1 = 0.68; +U1 = Cv*(2*g*H)^0.5 +Cr1 = Cv1*(2*g*H)^0.5 +N = 65; +disp("Now power is given by") +P = 9000; +eta = 0.85; +Q = P / (g * H * eta) +disp("If D is the runner diameter and, d, the hub diameter") +D = (Q*4*9/(%pi*Cr1*8))^0.5 +disp("Solving") +Ns = N * P^0.5 / H^1.25 -- cgit