summaryrefslogtreecommitdiff
path: root/3825/CH7/EX7.14
diff options
context:
space:
mode:
Diffstat (limited to '3825/CH7/EX7.14')
-rw-r--r--3825/CH7/EX7.14/Ex7_14.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3825/CH7/EX7.14/Ex7_14.sce b/3825/CH7/EX7.14/Ex7_14.sce
new file mode 100644
index 000000000..1120a49a0
--- /dev/null
+++ b/3825/CH7/EX7.14/Ex7_14.sce
@@ -0,0 +1,8 @@
+clc
+YA=0.5//mole fraction of oxygen
+YB=0.5//mole fraction of nitrogen
+R=8.314//universal gas constant
+deltasMix=-R*((YA*log(YA))+(YB*log(YB)))//molar entropy change associated with mixing of non identical gases
+mprintf("deltasMix=%fper mol of mixture",deltasMix)//ans vary due to roundoff error
+
+