summaryrefslogtreecommitdiff
path: root/116/CH11/EX11.1/exa11_1.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /116/CH11/EX11.1/exa11_1.sce
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '116/CH11/EX11.1/exa11_1.sce')
-rwxr-xr-x116/CH11/EX11.1/exa11_1.sce58
1 files changed, 28 insertions, 30 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")