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/CH14/EX14.4/Example14_4.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 401/CH14/EX14.4/Example14_4.sce (limited to '401/CH14/EX14.4/Example14_4.sce') diff --git a/401/CH14/EX14.4/Example14_4.sce b/401/CH14/EX14.4/Example14_4.sce new file mode 100755 index 000000000..38cac7c7b --- /dev/null +++ b/401/CH14/EX14.4/Example14_4.sce @@ -0,0 +1,23 @@ +//Example 14.4 +//Program to calculate: +//(a)3 dB Pulse Broadening in ns/km +//(b)Fiber Bandwidth-Length product + +clear; +clc ; +close ; + +//Given data +tau_o=12.6; //ns - 3 dB width of Output Pulse +tau_i=0.3; //ns - 3 dB width of Input Pulse +L=1.2; //km - LENGTH + +//(a)3 dB Pulse Broadening in ns/km +tau=sqrt(tau_o^2-tau_i^2)/L; + +//(b)Fiber Bandwidth-Length product +Bopt=0.44/tau; + +//Displaying the Results in Command Window +printf("\n\n\t (a)3 dB Pulse Broadening is %0.1f ns/km.",tau); +printf("\n\n\t (b)Fiber Bandwidth-Length product is %0.1f MHz km.",Bopt*10^3); \ No newline at end of file -- cgit