diff options
Diffstat (limited to '3825/CH8/EX8.4/Ex8_4.sce')
-rw-r--r-- | 3825/CH8/EX8.4/Ex8_4.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/3825/CH8/EX8.4/Ex8_4.sce b/3825/CH8/EX8.4/Ex8_4.sce new file mode 100644 index 000000000..452a3201f --- /dev/null +++ b/3825/CH8/EX8.4/Ex8_4.sce @@ -0,0 +1,9 @@ +clc
+R=8.314
+TO=300
+X1=0.79
+X2=0.21
+deltag=R*TO*((X1*log(X1))+(X2*log(X2)))
+mprintf("ge-gi=%fJ/mol\n",deltag)//ans vary due to roundoff error
+W=(-deltag*10^3)/3600
+mprintf("W=%fW\n",W)//ans vary due to roundoff error
|