diff options
Diffstat (limited to '116/CH5')
-rwxr-xr-x | 116/CH5/EX5.1/exa5_1.sce | 40 | ||||
-rwxr-xr-x | 116/CH5/EX5.2/exa5_2.sce | 70 | ||||
-rwxr-xr-x | 116/CH5/EX5.3/exa5_3.sce | 44 | ||||
-rwxr-xr-x | 116/CH5/EX5.5/exa5_5.sce | 60 |
4 files changed, 107 insertions, 107 deletions
diff --git a/116/CH5/EX5.1/exa5_1.sce b/116/CH5/EX5.1/exa5_1.sce index ab46c0d28..e1c2ef58c 100755 --- a/116/CH5/EX5.1/exa5_1.sce +++ b/116/CH5/EX5.1/exa5_1.sce @@ -1,21 +1,21 @@ -//Caption:Program to find the idle path in a three stage 8192 line switch
-
-//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
-
+ + +//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
\ No newline at end of file diff --git a/116/CH5/EX5.2/exa5_2.sce b/116/CH5/EX5.2/exa5_2.sce index 065ab7a3b..91fc8d0cf 100755 --- a/116/CH5/EX5.2/exa5_2.sce +++ b/116/CH5/EX5.2/exa5_2.sce @@ -1,36 +1,36 @@ -//Caption:Program to determine the implementaton complexity of the TS switch
-
-//Example 5.2
-
-//Page 253
-
-//Refer to figure 5.19 on page 252
-
-N=80//Number of links
-
-Nc=24//Number of control words
-
-Nb1=7//Number of bits per control word
-
-Nb2=5//Number of bits per control word
-
-disp('The number of crosspoints in the space stage is')
-
-Nx=N^2
-
-disp('The total number of memory bits for the space stage control store is')
-
-Nbx=N*Nc*Nb1
-
-disp('The total number of memory bits for the time stage is')
-
-Nbt=(N*Nc*8)+(N*Nc*Nb2)
-
-disp('Thus the implementation complexity is ')
-
-Cmplx=Nx+[(Nbx+Nbt)/100]
-
-//Result
-
-//Complexity is 6784 equivalent crosspoint.
+ + +//Example 5.2 + +//Page 253 + +//Refer to figure 5.19 on page 252 + +N=80//Number of links + +Nc=24//Number of control words + +Nb1=7//Number of bits per control word + +Nb2=5//Number of bits per control word + +disp('The number of crosspoints in the space stage is') + +Nx=N^2 + +disp('The total number of memory bits for the space stage control store is') + +Nbx=N*Nc*Nb1 + +disp('The total number of memory bits for the time stage is') + +Nbt=(N*Nc*8)+(N*Nc*Nb2) + +disp('Thus the implementation complexity is ') + +Cmplx=Nx+[(Nbx+Nbt)/100] + +//Result + +//Complexity is 6784 equivalent crosspoint.
\ No newline at end of file diff --git a/116/CH5/EX5.3/exa5_3.sce b/116/CH5/EX5.3/exa5_3.sce index 63592b8f8..6c501c2c0 100755 --- a/116/CH5/EX5.3/exa5_3.sce +++ b/116/CH5/EX5.3/exa5_3.sce @@ -1,23 +1,23 @@ -
-//Caption:Program to determine the implementaton complexity of a 2048 channel
-
-//Example 5.3
-
-//Page 256
-
-k=7//from equation 5.14 on page 256
-
-disp('Using the value of k')
-
-disp('Using the value of k, the number of crosspoint determined are')
-
-2*7*16
-
-disp('The number of bits of memory can be determined are')
-
-N=[2*7*128*4]+[7*128*8]+[7*128*7]
-
-//Result
-
-//The composite implementation complecity is 430 equivalent crosspoints.
+ + + +//Example 5.3 + +//Page 256 + +k=7//from equation 5.14 on page 256 + +disp('Using the value of k') + +disp('Using the value of k, the number of crosspoint determined are') + +2*7*16 + +disp('The number of bits of memory can be determined are') + +N=[2*7*128*4]+[7*128*8]+[7*128*7] + +//Result + +//The composite implementation complecity is 430 equivalent crosspoints.
\ No newline at end of file diff --git a/116/CH5/EX5.5/exa5_5.sce b/116/CH5/EX5.5/exa5_5.sce index 6385f0ade..3c720dd34 100755 --- a/116/CH5/EX5.5/exa5_5.sce +++ b/116/CH5/EX5.5/exa5_5.sce @@ -1,31 +1,31 @@ -
-//Caption:Program to determine the implementaton complexity of a 131,072 channel
-
-//Example 5.5
-
-//Page 261
-
-disp('The space switch can be designed bt take the first space stage. A value of 32 is chosen as a convenient binary number.')
-
-n=32//binary w.r.t (N/2)^2
-
-k=27//determined as a blocking probability of 0.0015
-
-//Refer equations 5.18 and 5.19
-
-Nx=[2*1024*27]+[27+(32^2)]
-
-Nx=[2*1024*27]+[27*(32^2)]
-
-Nbx=[2*27*128*32*5]+{27*128*32*5}
-
-Nbt=[2*1024*128*8]
-
-Nbtc=[2*1024*128*7]
-
-cmplx=[Nx+{(Nbx+Nbt+Nbtc)/100}]
-
-//Result
-
-//Complexity is 138,854 equivalent crosspoint.
+ + + +//Example 5.5 + +//Page 261 + + + +n=32//binary w.r.t (N/2)^2 + +k=27//determined as a blocking probability of 0.0015 + +//Refer equations 5.18 and 5.19 + +Nx=[2*1024*27]+[27+(32^2)] + +Nx=[2*1024*27]+[27*(32^2)] + +Nbx=[2*27*128*32*5]+{27*128*32*5} + +Nbt=[2*1024*128*8] + +Nbtc=[2*1024*128*7] + +cmplx=[Nx+{(Nbx+Nbt+Nbtc)/100}] + +//Result + +//Complexity is 138,854 equivalent crosspoint.
\ No newline at end of file |