summaryrefslogtreecommitdiff
path: root/944/CH5/EX5.40
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /944/CH5/EX5.40
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 '944/CH5/EX5.40')
-rwxr-xr-x944/CH5/EX5.40/example5_40_TACC.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/944/CH5/EX5.40/example5_40_TACC.sce b/944/CH5/EX5.40/example5_40_TACC.sce
new file mode 100755
index 000000000..4ec8929ca
--- /dev/null
+++ b/944/CH5/EX5.40/example5_40_TACC.sce
@@ -0,0 +1,28 @@
+//example 5.40
+
+clear;
+clc;
+
+disp("N2(g)+3H2(g)<=>2NH3(g)");
+
+//Given:
+Kp1=5.85*10^5;//equilibrium constant at 298K
+H1=-46.11;//standard enthalpy of formation of NH3(g)[KJ/mol]
+T1=298;//Initial temperature[K]
+T2=423;//Final temperature[K]
+R=8.314;//Universal gas constant[J/K/mol]
+
+//To find the Kp at 423K temperature
+H=2*H1;//enthalpy for reaction;[KJ]
+t=(T1^-1)-(T2^-1);
+x=-H*t/(R*0.001);
+Kp2=Kp1*exp(x);
+disp(Kp2,'The Equilibrium constant for reaction at 423K is ');
+
+
+
+
+
+
+
+