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 /1358/CH3/EX3.11 | |
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 '1358/CH3/EX3.11')
-rwxr-xr-x | 1358/CH3/EX3.11/Example311.sce | 22 |
1 files changed, 22 insertions, 0 deletions
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
|