blob: e61fe4602732ac44ab5e21bd0635a6c29c2d12e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// 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 5")
disp("Output Power")
Po = 12000
eta = 0.95
disp("Power generated Pin")
Pin = Po/eta
disp("Since there are two runners, power developed by each runner")
P = Pin/2
|