summaryrefslogtreecommitdiff
path: root/1394/CH15/EX15.3.2/Ex15_3_2.sce
blob: 56552d1493c6f6a15bec8d1d6a15acf5cbb38603 (plain)
1
2
3
4
5
6
7
8
9
10
11

clc
//initialization of variables
tE = 33 // Time taken for ferric ion to exhaust the bed in min
tB = 23 // Time taken for nickel to break through ferric in min
l = 120 //bed length in cm
//Calculations
Theta = 2*tB/(tB+tE)
lunused = (1-Theta)*120 // cm
//Results
printf("the length of the bed unused is %.1f cm",lunused)