summaryrefslogtreecommitdiff
path: root/1427/CH18/EX18.46/18_46.sce
blob: d776715b68925d30fa56663591257dfef69dc5b2 (plain)
1
2
3
4
5
6
7
8
//ques-18.46
//Calculating decrease in chemical potential of benzene
clc
T=298;//temperature (in K)
x_s=0.1;//mole-fraction of solute
x_b=1-x_s;//mole-fraction of benzene
C_P=8.314*T*log(x_b);
printf("The decrease in chemical potential is %.2f J/mol.",C_P);