summaryrefslogtreecommitdiff
path: root/401/CH3/EX3.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /401/CH3/EX3.5
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 '401/CH3/EX3.5')
-rwxr-xr-x401/CH3/EX3.5/Example3_5.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/401/CH3/EX3.5/Example3_5.sce b/401/CH3/EX3.5/Example3_5.sce
new file mode 100755
index 000000000..00fbd8d00
--- /dev/null
+++ b/401/CH3/EX3.5/Example3_5.sce
@@ -0,0 +1,27 @@
+//Example 3.5
+//Program to estimate
+//(a)The maximum possible bandwidth on the link assuming no ISI
+//(b)The pulse dispersion per unit length
+//(c)The bandwidth-length product for the fiber
+
+clear;
+clc ;
+close ;
+
+//Given data
+tau=0.1*10^(-6); //second - TOTAL PULSE BROADENING
+L=15; //km - DISTANCE
+
+//(a)The maximum possible bandwidth on the link assuming no ISI
+B_opt=1/(2*tau);
+
+//(b)The pulse dispersion per unit length
+Dispersion=tau/L;
+
+//(c)The bandwidth-length product for the fiber
+B_optXL=B_opt*L;
+
+//Displaying the Results in Command Window
+printf("\n\n\t (a)The maximum possible bandwidth on the link assuming no ISI is %1.0f MHz.",B_opt/10^6);
+printf("\n\n\t (b)The pulse dispersion per unit length is %0.2f ns/km.",Dispersion/10^(-9));
+printf("\n\n\t (c)The bandwidth-length product for the fiber is %1.0f MHz km.",B_optXL/10^6); \ No newline at end of file