summaryrefslogtreecommitdiff
path: root/116/CH11/EX11.1/exa11_1.sce
blob: 56750b986d625174e56e54d94b53b76bf9872bf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  
//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")