summaryrefslogtreecommitdiff
path: root/1427/CH18/EX18.46/18_46.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH18/EX18.46/18_46.sce')
-rw-r--r--1427/CH18/EX18.46/18_46.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1427/CH18/EX18.46/18_46.sce b/1427/CH18/EX18.46/18_46.sce
new file mode 100644
index 000000000..d776715b6
--- /dev/null
+++ b/1427/CH18/EX18.46/18_46.sce
@@ -0,0 +1,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);