blob: cfbb530b4b861adf1d6da3487b5439efe3b8b78c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//Example 6.4
clear;
clc;
//Given
delHfus=6.0;//heatoffusion of water in kJ mol^-1
T=273;//temperature in K
k=1.38*(10^(-23));//in J K^-1
NA=6.023*(10^23);//avogadros number
//To calculate the number of distinguishable states of water at 273 K
delS=(1000*delHfus)/(NA*T);//entropy change in J mol^-1 K^-1
w=delS/(2.303*k);//w=log10(W)
W=10^(w);//number of distinguishable states
mprintf('number of distinguishable states = %i',W);
//end
|