diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /632/CH4/EX4.14 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '632/CH4/EX4.14')
-rwxr-xr-x | 632/CH4/EX4.14/example4_14.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/632/CH4/EX4.14/example4_14.sce b/632/CH4/EX4.14/example4_14.sce new file mode 100755 index 000000000..0d4e2b1fc --- /dev/null +++ b/632/CH4/EX4.14/example4_14.sce @@ -0,0 +1,22 @@ +//clc()
+// CO2 = CO + 1/2 * O2
+P1 = 1;//bar
+T1 = 3500;//K
+P2 = 1;//bar
+T2 = 300;//K
+V2 = 25;//L
+V1 = V2 * P2 * T1 / ( P1 * T2 );
+disp("L",V1,"(a)Final volume of gas if no dissociation occured = ")
+Pstp = 1.01325;//bar
+Tstp = 273;//K
+Vstp = 22.4143;//m^3
+N2 = V2 * P2 * Tstp / ( Vstp * Pstp * T2);
+// let x be the fraction dissociated, then after dissociation,
+// CO2 = (1 - x)mol, CO = xmol, O2 = (0.5*x)mol
+//total moles = 1 - x + x + o.5 * x = 1 + 0.5 * x
+V = 350;//L
+N1 = V * P1 * Tstp / (Vstp * Pstp * T1);
+// 1 + 0.5 * x = N1, therefore
+x = (N1 - 1) / 0.5 ;
+p = x*100;
+disp("%",p,"(b)CO2 converted = ")
|