diff options
Diffstat (limited to '389/CH7/EX7.5')
-rwxr-xr-x | 389/CH7/EX7.5/Example7_5.sce | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/389/CH7/EX7.5/Example7_5.sce b/389/CH7/EX7.5/Example7_5.sce new file mode 100755 index 000000000..cf90effd9 --- /dev/null +++ b/389/CH7/EX7.5/Example7_5.sce @@ -0,0 +1,35 @@ +clear;
+clc;
+
+// Illustration 7.5
+// Page: 228
+
+printf('Illustration 7.5 - Page: 228\n\n');
+
+printf('Illustration 7.5 (a)\n\n');
+// solution(a)
+
+//****Data****//
+// A = benzene vapour; B = Nitrogen Gas
+P = 1;// [atm]
+//*****//
+
+MA = 78.05;// [kg/kmol]
+MB = 28.02;// [kg/kmol]
+// Since gas is saturated, from Fig. 7.2 (Pg 224):
+pA = 275/760;// [atm]
+Y = pA/(P-pA);// [kmol benzene/kmol nitrogen]
+Y_prime = Y*(MA/MB);// [kg benzene/kg nitrogen]
+printf("The concentration of benzene is %f kg benzene/kg nitrogen\n\n",Y_prime);
+
+printf('Illustration 7.5 (b)\n\n');
+// solution(b)
+
+// A = benzene vapour; B = CO2
+MA = 78.05;// [kg/kmol]
+MB = 44.01;// [kg/kmol]
+// Since gas is saturated, from Fig. 7.2:
+pA = 275/760;// [atm]
+Y = pA/(P-pA);// [kmol benzene/kmol CO2]
+Y_prime = Y*(MA/MB);// [kg benzene/kg CO2]
+printf("The concentration of benzene is %f kg benzene/kg CO2\n",Y_prime);
\ No newline at end of file |