blob: 99b9492488146e3693c202fdb690b66a9b589452 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc
//initialisation of variables
clear
R= 4.576 //cal mole^-1 K^-1
T= 25 //C
p1= 122 //mm
F1= -5.88 //kcal
F2= -33 //kcal
//CALCULATIONS
dF= R*(273.2+T)*log10(p1/760)
F= F2+F1+(dF/1000)
//RESULTS
printf ('Standard free energy change = %.f kcal',F)
|