diff options
Diffstat (limited to '944/CH5/EX5.34/example5_34_TACC.sce')
-rwxr-xr-x | 944/CH5/EX5.34/example5_34_TACC.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/944/CH5/EX5.34/example5_34_TACC.sce b/944/CH5/EX5.34/example5_34_TACC.sce new file mode 100755 index 000000000..44bb57ffe --- /dev/null +++ b/944/CH5/EX5.34/example5_34_TACC.sce @@ -0,0 +1,18 @@ +//example 5.34
+
+clear;
+clc;
+
+//Given:
+x=0.28;//mole fraction of solute
+R=8.314;//Universal gas constant[J/K/mol]
+T=298;//temperature[K]
+
+//To find the reduction in chemical potential
+du=R*T*log(1-x);//reduction in chemical potential[J/mol]
+printf("The reduction in chemical potential is %f J/mol",-du);
+
+
+
+
+
|