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

//Given
T=298;//Temperature in K
R=8.314;//gas constant in J K^-1 mol^-1
k=4.814-(2059/T);//k=log(K),where K is the equillibrium constant

//To determine the values of delGo,delHo and delSo
delSo=4.814*R;//entropy change in J K^-1 mol^-1
delGo=-R*T*k;//free energy change in J mol^-1
delHo=delGo+(T*delSo);//enthalpy change in J mol^-1
mprintf('delHo = %f J mol^-1',delHo);
mprintf('\n delGo = %f J mol^-1',delGo);
mprintf('\n delSo = %f J K^-1 mol^-1',delSo);
//end