summaryrefslogtreecommitdiff
path: root/1019/CH8/EX8.7/Example_8_7.sce
blob: b1b2d85729d7cf9ec7105f74105ec470a2bc33e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Example 8.6
clear;
clc;

//Given
T=673;//temperature in K
R=8.314;//gas constant in J K^-1 mol^-1
p=101325;//pressure in N m^-2
Kp=1.64*10^(-4);//Equillibrium constant for the synthesis of amonia at 673 K

//To determine the value of delGo
delGo=(-1)*R*T*log(Kp);//delGo in J mol^-1
mprintf('Change in free energy,delGo = %f J mol^-1',delGo);
//end