summaryrefslogtreecommitdiff
path: root/1019/CH8/EX8.27/Example_8_27.sce
blob: a042973beb6999c11fa71a63e48ff499c4bbdeec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Example 8.27
clear;
clc;

//Given
T=1300;//Temperature in K
R=8.314;//gas constant in J K^-1 mol^-1
p1=1.067*(10^5);//ratio of pressure of CO/CO2 for 1st reaction
p2=1.835*(10^5);//ratio of pressure of CO/CO2 for 2nd reaction

//To determine the values of delGo for required reaction
Kp1=p1^2;//equillibrium constant for the 1st reaction
Kp2=p2^2;//equillibrium constant for 2nd reaction
delGo1=-0.001*R*T*log(Kp1);//free energy change in kJ
delGo2=-0.001*R*T*log(Kp2);//free energy change in kJ
delGoA=delGo2-delGo1;//delGo for required reaction in kJ
mprintf('delGo for the formation of cobaltous silicate = %f kJ',delGoA);
//end