summaryrefslogtreecommitdiff
path: root/249/CH5/EX5.4/5_04.sce
diff options
context:
space:
mode:
Diffstat (limited to '249/CH5/EX5.4/5_04.sce')
-rwxr-xr-x249/CH5/EX5.4/5_04.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/249/CH5/EX5.4/5_04.sce b/249/CH5/EX5.4/5_04.sce
new file mode 100755
index 000000000..dda8acc7c
--- /dev/null
+++ b/249/CH5/EX5.4/5_04.sce
@@ -0,0 +1,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) \ No newline at end of file