diff options
Diffstat (limited to '1967/CH7/EX7.3/7_3.sce')
-rwxr-xr-x | 1967/CH7/EX7.3/7_3.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1967/CH7/EX7.3/7_3.sce b/1967/CH7/EX7.3/7_3.sce new file mode 100755 index 000000000..8046b1a55 --- /dev/null +++ b/1967/CH7/EX7.3/7_3.sce @@ -0,0 +1,10 @@ +clc
+//initialisation of variables
+clear
+R= 1.98 //cal//mol K
+x= 0.75
+n= 9
+//CALCULATIONS
+dS= -R*(n*(x/n)*log(x/n)+(1-x)*log(1-x))
+//RESULTS
+printf ('Entropy = %.2f cal deg^-1 mole^-1',dS)
|