summaryrefslogtreecommitdiff
path: root/1394/CH12/EX12.4.1/Ex12_4_1.sce
blob: fccc568ce58aeab1a8772f6153a8b5732563ffd7 (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

clc
//initialization of variables
F=3500 //mol/hr
xf=0.4
x1=0.98
y1=0.97
y2=0.625
x1=0.97
x2=0.4
ratio=1.5
HTU=0.2
//calculations
A=[1 1;x1 1-x1]
B=[F;xf*F]
C=A\B
DA=C(1)
BA=C(2)
Rds=(y1-y2)/(x1-x2)
Rd=Rds/(1-Rds)
Rdreq=ratio*Rd
NTU=13.9
l=HTU*NTU
//results
printf("length of the tower = %.1f m",l)