summaryrefslogtreecommitdiff
path: root/1394/CH14/EX14.4.1/Ex14_4_1.sce
blob: 1f883097d7ac4869ad66dcca5e4200539d276559 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19


clc
//Initialization of variables
m = 0.018 
H = 450 // litres/hr
L = 37 // litres/hr
Ynplus1byY1 = 100 
//Calculations
E =m*H/L
nplus1 = log((Ynplus1byY1*((1/E)-1))+1)/log(1/E)
n = nplus1 -1
printf("The number of ideal stages are %.f",n)
N = 0.60//Murphree efficienct
E1 = (m*H/L) + (1/N) - 1
nplus1 = log((Ynplus1byY1*((1/E1)-1))+1)/log(1/E1)
n=nplus1-1
printf("\nThe number of stages required if Murphree efficiency is 60 percent is %.f",n)