diff options
Diffstat (limited to '3718/CH3/EX3.8/Ex3_8.sce')
-rw-r--r-- | 3718/CH3/EX3.8/Ex3_8.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3718/CH3/EX3.8/Ex3_8.sce b/3718/CH3/EX3.8/Ex3_8.sce new file mode 100644 index 000000000..6f40f4418 --- /dev/null +++ b/3718/CH3/EX3.8/Ex3_8.sce @@ -0,0 +1,19 @@ +//Chapter 3: Thermodynamic and Chemical Equilibrium
+//Problem: 8
+clc;
+
+//Declaration of Constant
+R = 1.987 // cal per K per mol
+
+//Declaration of Variables
+m = 5
+Vo = 4 //in litres, Initial Volume
+Vf = 40 //in litres, Final Volume
+T = 27 //in deg C
+
+// Solution
+mprintf("dS = nRln(V2 / V1)\n")
+
+dS = m * R * 2.303 * log10(Vf / Vo)
+
+mprintf(" The change in entropy is: %.2f cal / degree",dS)
|