summaryrefslogtreecommitdiff
path: root/3740/CH8/EX8.10/Ex8_10.sce
blob: 000c5553ceddf79263895f63cd176b8446d47a08 (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
//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 8.10
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;

//given - Case (i)
Lambda0=850e-9;//Wavelength in m
L=1e3;//Length of the silica based fiber in m
DeltaLambda0=50e-9;//Linewidth of the fiber in m
c=3e8;//Speed of light in m/s
//Let the term '((d^2)n)/(dLambda0)^2' in m^-2 be denoted by dsquare
dsquare=3e10;

DeltaT=L*Lambda0*dsquare*DeltaLambda0/c;//Material dispersion for laser in s
mprintf("\n DeltaT for laser = %.1e s",DeltaT);//The answers vary due to round off error

//given - Case (ii)
Lambda0=1550e-9;//Wavelength in m
L=1e3;//Length of the silica based fiber in m
DeltaLambda0=3e-9;//Linewidth of the fiber in m
c=3e8;//Speed of light in m/s
//Let the term '((d^2)n)/(dLambda0)^2' in m^-2 be denoted by dsquare
dsquare=4.24e9;

DeltaT=L*Lambda0*dsquare*DeltaLambda0/c;//Material dispersion for LED in s
mprintf("\n DeltaT for LED = %.1e s",DeltaT);