summaryrefslogtreecommitdiff
path: root/389/CH10/EX10.10/Example10_10.sce
blob: c4d84712a04572e6c1220f06a9992158b13087cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
clear;
clc;

// Illustration 10.10
// Page: 552

printf('Illustration 10.10 - Page: 552\n\n');

// Solution

//****Data****//
B = 1150;// [kg/h]
//*******//

// x and y are taken in weight ratio.
x1_prime = 0.0101;// [Wt. fraction]
xF_prime = 0.0101;// [Wt. fraction]
y2_prime = 0;// [Wt. fraction]
x2_prime = 0.001001;// [Wt. fraction]
y1_prime = 0.0782;// [Wt. fraction]
// From Illustration 10.4:
A = 990;// [kg/h]
// At the dilute end:
m1_prime = 0.798;
Value1 = m1_prime*B/A;
// At the concentrated end:
m2_prime = 0.953;
Value2 = m2_prime*B/A;
ValueAv = (Value1*Value2)^0.5;
// From Eqn. 10.116:
// Since y2_prime = 0
Value3 = x2_prime/x1_prime;
NtoR = (log((1/Value3)*(1-(1/ValueAv))+(1/ValueAv)))/(1-(1/ValueAv));
printf("Number of theoretical Unit : %f\n",NtoR);