summaryrefslogtreecommitdiff
path: root/647/CH10/EX10.14/Example10_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '647/CH10/EX10.14/Example10_14.sce')
-rwxr-xr-x647/CH10/EX10.14/Example10_14.sce35
1 files changed, 35 insertions, 0 deletions
diff --git a/647/CH10/EX10.14/Example10_14.sce b/647/CH10/EX10.14/Example10_14.sce
new file mode 100755
index 000000000..dc9b31eb6
--- /dev/null
+++ b/647/CH10/EX10.14/Example10_14.sce
@@ -0,0 +1,35 @@
+clear;
+clc;
+
+// Example: 10.14
+// Page: 426
+
+printf("Example: 10.14 - Page: 426\n\n");
+
+// Solution
+
+//*****Data******//
+x1 = 0.4;// [mole fraction of ethane in vapour phase]
+x2 = 0.6;// [mole fraction of propane in vapour phase]
+P = 1.5;// [MPa]
+//***************//
+
+// Assume T = 10 OC
+T = 10;// [OC]
+// From Fig. 10.14 (Pg 426):
+K1 = 1.8;
+K2 = 0.5;
+// From Eqn. 10.83:
+y1 = K1*x1;
+y2 = K2*x2;
+// Since y1 + y2 > 1, so we assume another value of T = 9 OC.
+T = 9;// [OC]
+// From Fig. 10.14 (Pg 426):
+K1 = 1.75;
+K2 = 0.5;
+// From Eqn. 10.83:
+y1 = K1*x1;
+y2 = K2*x2;
+// Since y1 + y2 = 1. Therefore:
+printf("Bubble Temperature is %d OC\n",T);
+printf("Composition of the vapour bubble:\n y1 = %.2f\n y2 = %.2f",y1,y2); \ No newline at end of file