summaryrefslogtreecommitdiff
path: root/1655/CH4/EX4.15.1/Example_4_15_1.sce
blob: f96f095377f3fdd1fde67179d5428af9a8c398cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Example 4.15.1  page 4.35

clc;
clear;

tau=0.1d-6;     //pulse broadning
dist=20d3;      //distance

Bopt=1/(2*tau);     //computing optical bandwidth
Bopt=Bopt*10^-6;
dispertion=tau/dist;        //computing dispersion
dispertion=dispertion*10^12;
BLP=Bopt*dist;      //computing Bandwidth length product
BLP=BLP*10^-3;
printf("\noptical bandwidth is %d MHz.\nDispersion per unit length is %d ns/km.\nBandwidth length product is %d MHz.km.",Bopt,dispertion,BLP);