diff options
Diffstat (limited to '2495/CH4/EX4.7.5/Ex4_7_5.sce')
-rw-r--r-- | 2495/CH4/EX4.7.5/Ex4_7_5.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2495/CH4/EX4.7.5/Ex4_7_5.sce b/2495/CH4/EX4.7.5/Ex4_7_5.sce new file mode 100644 index 000000000..1a3757bf2 --- /dev/null +++ b/2495/CH4/EX4.7.5/Ex4_7_5.sce @@ -0,0 +1,12 @@ +clear
+clc
+PA=54.4;//vapour pressure of n-hexane in kN/m^2
+PB=18.8;//vapour pressure of n-heptane in kN/m^2
+YA=0.85;//molar fraction of n-hexane
+XA=(YA*PB)/(PA-((PA-PB)*YA));//mole fraction of n-hexane in equilibrium with vapour
+printf('XA=%.3f',XA)
+R=8.314;//J/Kmol
+DelS_mix=(-((XA*2.303*log10(XA))+((1-XA)*2.303*log10(1-XA))))*R
+printf('\nDelS_mix=%.3f J/K',DelS_mix)
+
+//page 146
|