From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 401/CH3/EX3.5/Example3_5.sce | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 401/CH3/EX3.5/Example3_5.sce (limited to '401/CH3/EX3.5/Example3_5.sce') 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 -- cgit