diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3856/CH9/EX9.1 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3856/CH9/EX9.1')
-rw-r--r-- | 3856/CH9/EX9.1/Ex9_1.sce | 23 | ||||
-rw-r--r-- | 3856/CH9/EX9.1/Ex9_1.txt | 1 |
2 files changed, 24 insertions, 0 deletions
diff --git a/3856/CH9/EX9.1/Ex9_1.sce b/3856/CH9/EX9.1/Ex9_1.sce new file mode 100644 index 000000000..8bb599e35 --- /dev/null +++ b/3856/CH9/EX9.1/Ex9_1.sce @@ -0,0 +1,23 @@ +//Calculate the Equilibrium constant for the reaction N2(g)+3H2(g)=2NH3(g)
+
+//Example 9.1
+
+clc;
+
+clear;
+
+delfG1=-16.6; //Standard Gibbs Energy for NH3 in kJ mol^-1
+
+delfG2=0; //Standard Gibbs Energy for N2 in kJ mol^-1
+
+delfG3=0; //Standard Gibbs Energy for NH3 in kJ mol^-1
+
+delrGo=2*delfG1-(delfG2+3*delfG3); //Standard Gibbs Energy change for reaction in kJ mol^-1
+
+R=8.314; //Gas constant in J K^-1 mol^-1
+
+T=298; //Temperature in K
+
+Kp=exp(-delrGo*1000/(R*T)); //Equilibrium constant for the reaction (Equilibrium constant for the reaction is given by Kp=(PNH3/Pdeg)^2/((PN2/Pdeg)*(PH2/Pdeg)^2 )
+
+printf("Equilibrium constant = %.1f*10^5",Kp*10^-5);
diff --git a/3856/CH9/EX9.1/Ex9_1.txt b/3856/CH9/EX9.1/Ex9_1.txt new file mode 100644 index 000000000..0255f56ce --- /dev/null +++ b/3856/CH9/EX9.1/Ex9_1.txt @@ -0,0 +1 @@ + Equilibrium constant = 6.6*10^5
\ No newline at end of file |