summaryrefslogtreecommitdiff
path: root/1019/CH8/EX8.19/Example_8_19.sce
blob: 6bb038016b16219f78a2db287fd2b66e0e39b723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Example 8.19
clear;
clc;

//Given
delGo2=-36.7;//standard free energy change in conversion of fumarate to asparate in kJ mol^-1
delGo3=-2.9;//standard free energy change in conversion of fumarate to malate in kJ mol^-1
T=310;//Temperature in K
R=8.314;//gas constant in J K^-1 mol^-1

//To determine the standard free energy change in conversion of malate to asparate and the equillibrium constant
delGo1=delGo2-delGo3;//the standard free energy change in conversion of malate to asparate in kJ mol^-1
k=(-1000*delGo1)/(R*T);//k=log(K)
K=exp(k);//K is the equillibrium constant
mprintf('Standard free energy change in conversion of malate to asparate = %f kJ mol^-1',delGo1);
mprintf('\n The equillibrium constant at 310 K = %f',K);
//end