summaryrefslogtreecommitdiff
path: root/1808/CH5/EX5.23/Chapter5_Exampl23.sce
blob: 02f732aa99467490d87200799d43d1ac4ce7064f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
clc
clear
//INPUT DATA
p1=1;//initial pressure in bar
pd=12;//delivery pressure in bar
R=0.287;//gas constant
t1=310;//temperature in K
m=1;//mass of air
cp=1.005;//specific pressure
n=1.4;//index of compressor

//CALCULATIONS
p2=sqrt(p1*pd);//Intermediate pressure in bar
v1=R*t1/(p1*10^2);//Volume in m^3
t2=t1*((p2/p1)^((n-1)/n));//temperature in K
Qc=m*cp*(t2-t1);//Heat rejected in the intercooler per kg of air

//OUTPUT
printf('(i)Heat rejected in the intercooler per kg of air is %3.2f kW',Qc)