summaryrefslogtreecommitdiff
path: root/249/CH5/EX5.4/5_04.sce
blob: dda8acc7c97bc7ac351ae0cca91e7410beb96bb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
clc
//With 50% inert 2 vol of feed would give 4 vol of completely converted gas
//Expansion factor is
eA=(4-2)/2;
//Initial concentration of A(mol/litre)
CAo=0.0625;
//For 80% conversion
xAo=0;xAf=0.8;k=0.01;
//For plug flow space time(t) is given by
//t=CAo*integral(dxA/-rA)
X=integrate('sqrt((1+xA)/(1-xA))','xA',xAo,xAf);
t=sqrt(CAo)*X/k;
printf("\n Space time(sec) needed is %f \n",t)