summaryrefslogtreecommitdiff
path: root/249/CH9/EX9.2/9_02.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /249/CH9/EX9.2/9_02.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '249/CH9/EX9.2/9_02.sce')
-rwxr-xr-x249/CH9/EX9.2/9_02.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/249/CH9/EX9.2/9_02.sce b/249/CH9/EX9.2/9_02.sce
new file mode 100755
index 000000000..2b290f19e
--- /dev/null
+++ b/249/CH9/EX9.2/9_02.sce
@@ -0,0 +1,22 @@
+clear
+clc
+//Standard heat of reaction(J/mol) and Gibbs free energy(J/mol)
+Ho=-75300;Go=-14130;
+R=8.3214;T1=298;
+//With all specific heais alike,dCp=0
+Hr=-Ho;
+K298=exp(-Go/(R*T1));
+//Taking different values of T
+T1=[2;15;25;35;45;55;65;75;85;95];//degree celcius
+T=[278;288;298;308;318;328;338;348;358;368];//kelvin
+for i=1:10
+K=K298*exp((Hr/R)*((1/T(i))-(1/298)));
+XAe(i)=K/(K+1);
+end
+plot(T1,XAe)
+xlabel('Temperature(C)')
+ylabel('XAe')
+disp(" From the graph we see temp must stay below 78 C if conversion of 75% or above is expected")
+
+
+