summaryrefslogtreecommitdiff
path: root/1394/CH10/EX10.3.2/Ex10_3_2.sce
blob: 571a135bf61807e414badc49764b602b1e17e123 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19


clc
//initialization of variables
l = 200 // Length of the tower in cm
d = 60 // diameter of the tower
Lf = 300 // Liquid flow in cc/sec
Kx = 2.2*10^-3 // dominant transfer co efficient in liquid in cm/sec
//Calculations
A = %pi*60*60/4 // Area of the cross section in sq cm
L = Lf/A // Liquid flux in cm^2/sec
ratio = 1/(exp((l*Kx)/L))
percentage = (1-ratio)*100 // Percentage removal of Oxygen
//Results
printf("the percentage of oxygen we can remove is %.1f",percentage)



// Rounding of error in textbook