summaryrefslogtreecommitdiff
path: root/116/CH5/EX5.1/exa5_1.sce
blob: e1c2ef58c8a068fa6273608c75dc21a1f39e20c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

 
//Example 5.1
 
//Page243
 
//Refer to table 5.2 on page236
 
disp('From the table, space expansion factor of 0.234 is 0.002. Hence the utilization of each interstage is given by')
 
0.1/0.234

p=1-[(1-0.427)^2]// probability that one of two links in series is busy

disp('Therefore, the expected number of paths to be tested are,')
 
Np=[1-(0.672)^15]/(1-0.672)
 
//Result
 
//Only 3 of the 15 paths should be tested before an idle path is found