summaryrefslogtreecommitdiff
path: root/116/CH11/EX11.1/exa11_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /116/CH11/EX11.1/exa11_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '116/CH11/EX11.1/exa11_1.sce')
-rwxr-xr-x116/CH11/EX11.1/exa11_1.sce30
1 files changed, 30 insertions, 0 deletions
diff --git a/116/CH11/EX11.1/exa11_1.sce b/116/CH11/EX11.1/exa11_1.sce
new file mode 100755
index 000000000..56750b986
--- /dev/null
+++ b/116/CH11/EX11.1/exa11_1.sce
@@ -0,0 +1,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")