summaryrefslogtreecommitdiff
path: root/1019/CH8/EX8.28/Example_8_28.sce
diff options
context:
space:
mode:
Diffstat (limited to '1019/CH8/EX8.28/Example_8_28.sce')
-rw-r--r--1019/CH8/EX8.28/Example_8_28.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1019/CH8/EX8.28/Example_8_28.sce b/1019/CH8/EX8.28/Example_8_28.sce
new file mode 100644
index 000000000..cd928ebb3
--- /dev/null
+++ b/1019/CH8/EX8.28/Example_8_28.sce
@@ -0,0 +1,15 @@
+//Example 8.28
+clear;
+clc;
+
+//Given
+T=298;//temperature in K
+R=8.314;//gas constant in J K^-1 mol^-1
+delGfoO3=163.43;//free energy of formation of O3 in kJ
+delGfoO2=0;//free energy of formation of O2 in kJ
+
+//To determine the value of equillibrium constant
+delGo=(2*delGfoO3)-(3*delGfoO2);//delGo in kJ
+k=(-1000*delGo)/(2.303*R*T);//k=log10(K)
+mprintf('Equillibrium constant,K = 10^%f',k);
+//end \ No newline at end of file