diff options
Diffstat (limited to '116/CH8/EX8.6/exa8_6.sce')
-rwxr-xr-x | 116/CH8/EX8.6/exa8_6.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/116/CH8/EX8.6/exa8_6.sce b/116/CH8/EX8.6/exa8_6.sce new file mode 100755 index 000000000..55809510b --- /dev/null +++ b/116/CH8/EX8.6/exa8_6.sce @@ -0,0 +1,26 @@ +
+//Caption:Program to determine the range of SPE data rates that can be accomodated by the byte stuffing operation
+
+//Example 8.6
+
+//Page 415
+
+frames=4*9*87//Four SPE frames
+
+rate=8*frames*2000//normal rate SPE
+
+disp('When positive byte stuffing is used to accomodate a slow incoming SPE rate, 3131 bytes of data are transmitted in four frames. Thus, the lowest slip rate is')
+
+Rmin=8*3131*2000//minimum SPE rate
+
+disp('When negative byte stuffing is used to accomodate a fast incoming SPE rate, 3133 bytes of data are transmitted in four frames. Thus, the highest slip rate is')
+
+Rmax=8*3133*2000//maximum SPE rate
+
+//Result
+
+//Normal SPE rate = 50.112 Mbps
+
+//Minimum SPE rate = 50.096 Mbps
+
+//Maximum SPE rate = 50.128 Mbps
\ No newline at end of file |