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.12/Example312.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 1358/CH3/EX3.12/Example312.sce (limited to '1358/CH3/EX3.12') diff --git a/1358/CH3/EX3.12/Example312.sce b/1358/CH3/EX3.12/Example312.sce new file mode 100755 index 000000000..cbec87b5c --- /dev/null +++ b/1358/CH3/EX3.12/Example312.sce @@ -0,0 +1,26 @@ +// 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 12") +disp("Mean diameter D") +D = (4+1.75)/2 +N =145; +U1 = %pi*D*N/60 +g = 9.81; +H = 20; +disp("Using hydraulic efficiency, etah") +etah = 0.93 +Cw1 = etah*g*H/U1 +Power = 12000*0.746 +disp("Power = rho*g*Q*H*etao") +etao = 0.85 +disp("Discharge, Q") +Q = Power/(g*H*etao) +Cr1 = Q*4/(%pi*(4^2-1.75^2)) +beta1 = atan(Cr1/(U1-Cw1))*180/%pi +U2 =U1 +Cr2 = Cr1 +beta2 = atan(Cr2/U2)*180/%pi -- cgit