summaryrefslogtreecommitdiff
path: root/116/CH5/EX5.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /116/CH5/EX5.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '116/CH5/EX5.1')
-rwxr-xr-x116/CH5/EX5.1/exa5_1.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/116/CH5/EX5.1/exa5_1.sce b/116/CH5/EX5.1/exa5_1.sce
new file mode 100755
index 000000000..ab46c0d28
--- /dev/null
+++ b/116/CH5/EX5.1/exa5_1.sce
@@ -0,0 +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
+
+//Only 3 of the 15 paths should be tested before an idle path is found \ No newline at end of file