From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 944/CH5/EX5.34/example5_34_TACC.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 944/CH5/EX5.34/example5_34_TACC.sce (limited to '944/CH5/EX5.34') 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); + + + + + -- cgit