summaryrefslogtreecommitdiff
path: root/542/CH11/EX11.17/Example_11_17.sce
blob: 987ccf05551d32a18af427a23cf1993b60c970d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//Example 11.17 Fenske's Equation

clear;
clc;

printf("\tExample 11.17\n");

//From previous question data
xA_d=0.453;
xB_d=0.013;

xA_s=0.04;
xB_s=0.96;

alpha_av=2.22;

//By Fenske Equation for no. of plates

n=((log(xA_d*xB_s/(xA_s*xB_d)))/log(alpha_av))-1;

printf("\nMinimum no. of plates are %f or %d\n",n,n);

//End