summaryrefslogtreecommitdiff
path: root/3407/CH2/EX2.4/Ex2_4.sce
blob: ee02d06e229ecf803c4f6bd02191345dd2d12ad3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clear all;
clc;
funcprot(0);

//given data
AR = 1.8;//Area ratio
cp = 0.6;//coefficient of pressure
N_R1 = 7.85;

//calculations
Theta = 2*(180/%pi)*atan((AR^0.5 - 1)/(N_R1));//included cone angle
cpi = 1-(1/(AR^2));
Diff_eff = cp/cpi;//diffuser efficeincy

//Results
printf('The included cone angle can be found = %.1f deg.\n',Theta);
printf('cpi = %.2f.\n',cpi);
printf('Diffuser efficiency = %.2f.',Diff_eff);