diff options
Diffstat (limited to '1652/CH13/EX13.6')
-rwxr-xr-x | 1652/CH13/EX13.6/13_6.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1652/CH13/EX13.6/13_6.sce b/1652/CH13/EX13.6/13_6.sce new file mode 100755 index 000000000..4bb5de92e --- /dev/null +++ b/1652/CH13/EX13.6/13_6.sce @@ -0,0 +1,13 @@ +clc
+//Initialization of variables
+P1=0.01
+P2=0.1
+P3=0.01
+dF0=-54640 //cal
+T=298.15 //K
+R=1.987 //cal/deg
+//calculations
+Qp=P1/(P2*P3^0.5)
+dF=dF0+R*T*log(Qp)
+//results
+printf("change in free energy = %d cal",dF)
|