blob: 6f69a8b6c111eaaf936aed9502b03b57c4d8d57e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc
//initialisation of variables
H= -68317.4 //cal
S= 16.716 //cal
S1= 49.003 //cal
S2= 31.211 //cal
T= 25 //C
//CALCULATIONS
H1= 2*H
S3= 2*S-(S1+2*S2)
G= H1-(T+273.16)*S3
//RESULTS
printf (' Gibs free energy= %.1f cal',G)
|