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.2 | |
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.2')
-rw-r--r-- | 3856/CH9/EX9.2/Ex9_2.sce | 27 | ||||
-rw-r--r-- | 3856/CH9/EX9.2/Ex9_2.txt | 1 |
2 files changed, 28 insertions, 0 deletions
diff --git a/3856/CH9/EX9.2/Ex9_2.sce b/3856/CH9/EX9.2/Ex9_2.sce new file mode 100644 index 000000000..797b13956 --- /dev/null +++ b/3856/CH9/EX9.2/Ex9_2.sce @@ -0,0 +1,27 @@ +//Calculate the Standard Gibbs Energy change for the reaction (delrG) N2(g)+3H2(g)=2NH3(g)
+
+//Example 9.2
+
+clc;
+
+clear;
+
+Po=(760*10^5)/(1.01325*10^5); //Standard pressure of the gas in torr
+
+PN2=190; //Partial pressure of the N2 gas in torr
+
+PH2=418; //Partial pressure of the H2 gas in torr
+
+PNH3=722; //Partial pressure of the NH3 gas in torr
+
+Kp=((PNH3/Po)^2)/((PN2/Po)*(PH2/Po)^3); //Equilibrium constant for reaction
+
+R=8.314; //Gas constant in J K^-1 mol^-1
+
+T=298; //Temperature of the gas in K
+
+delrGo=-33.2*10^3; //Standard Gibbs energy for the reaction J mol^-1
+
+delrG=(delrGo+(R*T)*log(Kp))/1000; //Standard Gibbs Energy change for the reaction in kJ mol^-1
+
+printf("Standard Gibbs Energy Change = %.1f kJ mol^-1",delrG);
diff --git a/3856/CH9/EX9.2/Ex9_2.txt b/3856/CH9/EX9.2/Ex9_2.txt new file mode 100644 index 000000000..866008744 --- /dev/null +++ b/3856/CH9/EX9.2/Ex9_2.txt @@ -0,0 +1 @@ + Standard Gibbs Energy Change = -25.6 kJ mol^-1
\ No newline at end of file |