diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /116/CH8/EX8.6 | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '116/CH8/EX8.6')
-rwxr-xr-x | 116/CH8/EX8.6/exa8_6.sce | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/116/CH8/EX8.6/exa8_6.sce b/116/CH8/EX8.6/exa8_6.sce index 55809510b..9aceca8ad 100755 --- a/116/CH8/EX8.6/exa8_6.sce +++ b/116/CH8/EX8.6/exa8_6.sce @@ -1,26 +1,24 @@ -
-//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
-
+ +//Example 8.6 + +//Page 415 + +frames=4*9*87//Four SPE frames + +rate=8*frames*2000//normal rate SPE + + + +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 |