blob: 4e210323e85d0fd9ce1cf371bc7f16f81a5db59f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
//(13.11) Determine the Gibbs function of formation of methane at the standard state, 25C and 1 atm, in kJ/kmol, and compare with the value given in Table A-25.
//solution
//Methane is formed from carbon and hydrogen according to
//C + 2H2 ------> CH4
//In the present case, all substances are at the same temperature and pressure, 25C and 1 atm, which correspond to the standard reference state values
hCbar = 0
hH2bar = 0
gRbar = 0
//With enthalpy of formation and absolute entropy data from Table A-25
hfbarCH4 = -74850
sbarCH4 = 186.16
sbarC = 5.74
sbarH2 = 130.57
Tref = 298.15 //in kelvin
gfbarCH4 = hfbarCH4 -Tref*(sbarCH4-sbarC-2*sbarH2) //in kj/kmol
printf('the gibbs function of formation of methane at the standard state is: %f',gfbarCH4)
|