summaryrefslogtreecommitdiff
path: root/3869/CH5/EX5.7/Ex5_7.sce
blob: 57cf234f927084259c54e519c2901c3804225aca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clear
//
//
//

//Variable declaration
n=1.55           //Core refractive index
L=10             //length(m)
delta=0.026      //relative refractive index difference
C=3*10**5

//Calculation
deltaT=L*n*delta/C         //total dispersion(s)
blp=L/(2*deltaT)           //bandwidth length product(Hz km)

//Result
printf("\n total dispersion is %0.1f  ns",deltaT*10**9)
printf("\n bandwidth length product is %0.2f  *10**5 Hz km",blp/10**5)
printf("\n answer for bandwidth length product given in the book is wrong")