summaryrefslogtreecommitdiff
path: root/1427/CH18/EX18.19/18_19.sce
blob: fce0d427dedfaf9c7d4903f6678578066e9addb7 (plain)
1
2
3
4
5
6
7
8
9
//ques-18.19
//Calculating enthalpy change for the process
clc
G1=-85.77; G2=-83.68;//free energy change (in kJ)
T1=273+25; T2=273+35;//temperature (in K)
//G=H-T*S
//On comparing, (G1-H)/T1 = (G2-H)/T2
H=-148;//enthalpy change (in kJ)
printf("The enthalpy change for the process is %d kJ.",H);