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/CH11 | |
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/CH11')
-rwxr-xr-x | 116/CH11/EX11.1/exa11_1.sce | 58 | ||||
-rwxr-xr-x | 116/CH11/EX11.2/exa11_2.sce | 36 |
2 files changed, 45 insertions, 49 deletions
diff --git a/116/CH11/EX11.1/exa11_1.sce b/116/CH11/EX11.1/exa11_1.sce index 56750b986..45a82df94 100755 --- a/116/CH11/EX11.1/exa11_1.sce +++ b/116/CH11/EX11.1/exa11_1.sce @@ -1,30 +1,28 @@ -
-//Caption:Program to determine the distance limit imposed by the need to echo E bit in a BRI S/T interface
-
-//Example 11.1
-
-//Page 501
-
-//Refer to figure 11.5 on page 500
-
-disp('By seeing the figure, it can be seen that the minimum delay between a terminal transmitting D bit and receiving it back in the following E bit is seven bit times')
-
-disp('At a 192 kbps data rate the duration of bit is 5.2 usec. Thus, the total round trip propagation time is ')
-
-7*5.2//usec
-
-disp('Assuming no appreciable circuitry delays in the NT,')
-
-c=3*10^8// speed of light
-
-Lmax=(36.4*10^-6)*(1/3)*c
-
-disp('Because round trip propagation involves both direction of transmission')
-
-Dmax=(1/2)*Lmax
-
-disp("Result")
-
-disp("Maximum length of wire(Lmax) = 3640 m = 3.64 km")
-
-disp("Maximum distance(Dmax)= 1820 m = 1.82 km")
+ +//Example 11.1 + +//Page 501 + +//Refer to figure 11.5 on page 500 + +disp('By seeing the figure, it can be seen that the minimum delay between a terminal transmitting D bit and receiving it back in the following E bit is seven bit times') + +disp('At a 192 kbps data rate the duration of bit is 5.2 usec. Thus, the total round trip propagation time is ') + +7*5.2//usec + +disp('Assuming no appreciable circuitry delays in the NT,') + +c=3*10^8// speed of light + +Lmax=(36.4*10^-6)*(1/3)*c + +disp('Because round trip propagation involves both direction of transmission') + +Dmax=(1/2)*Lmax + +disp("Result") + +disp("Maximum length of wire(Lmax) = 3640 m = 3.64 km") + +disp("Maximum distance(Dmax)= 1820 m = 1.82 km") diff --git a/116/CH11/EX11.2/exa11_2.sce b/116/CH11/EX11.2/exa11_2.sce index 665583926..f8a703198 100755 --- a/116/CH11/EX11.2/exa11_2.sce +++ b/116/CH11/EX11.2/exa11_2.sce @@ -1,19 +1,17 @@ -
-//Caption:Program to determine the theoretical maximum data rate of a prefectly equalized voiceband modem
-
-//Example 11.2
-
-//Page 513
-
-disp('The signal-to-quantizing-noise ratio(SQR) is given in chap3 to be on the order of 36dB, which corresponds to power ratio of 3981.')
-
-disp('Using this value in Shannon theorem for the theoretical capacity of a channel yield,')
-
-SNR=3981
-
-C=3100*[log2(1+SNR)]
-
-disp("Result")
-
-disp("data rate = 37 kbps")
-
+ +//Example 11.2 + +//Page 513 + +disp('The signal-to-quantizing-noise ratio(SQR) is given in chap3 to be on the order of 36dB, which corresponds to power ratio of 3981.') + +disp('Using this value in Shannon theorem for the theoretical capacity of a channel yield,') + +SNR=3981 + +C=3100*[log2(1+SNR)] + +disp("Result") + +disp("data rate = 37 kbps") + |