summaryrefslogtreecommitdiff
path: root/3825/CH10/EX10.12/Ex10_12.sce
blob: 5458a09d02c50c01cfa228748c1b5e02a3752a23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
clc
phi1=0.8
TDB=40 //in celsius
w1=0.0284
pw1=4.4 //in kPa
h1star=114
P=101.325
R=8.314*10^3
V=1
M=28.97
T1=313.15
pa1=P-pw1
ma1=(pa1*10^3*V*M)/(R*T1)
mprintf("ma1=%fkg/s dry air\n",ma1)//ans vary due to roundoff error
w4=0.0056
h4star=34.5
w2=w4
h2star=20.5
mw=ma1*(w1-w2)
mprintf("mw=%fkg/s\n",mw)//ans vary due to roundoff error
hw3=25.21
Qc=ma1*(h1star-h2star)-(mw*hw3)
mprintf("Qc=%fkJ/s\n",Qc)//ans vary due to roundoff error
ma2=ma1
Q=ma2*(h4star-h2star)
mprintf("Q=%fkJ/s",Q)//ans vary due to roundoff error