blob: 31e338324a5a1229572e50f0ff8a3d5fc78c8416 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//example 5.7
clear;
clc;
//Given:
H=-92.22;//Standard reaction enthalpy[KJ]
T=298;//Temperature [K]
//To find the change in entropy of the surroundings at 298K
//standard reaction enthalpy is H.Therefore, heat gained by the surroundings at 298K is -H
S=-H*1000/T;//Change in entropy[J/K]
printf("Change in entropy of the surroundings at 298k = %f J/K",S);
|