blob: 59bf11276e9acb67b731a064182e3848d377ba35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Example no. 2.10
// To design single mode fiber such that absolute accumulated dispersion should not exceed 1100ps/nm
// Page no. 77
clc;
clear;
// Given data
lambda1=1530; // Left edge of wavelength range in nm
lambda2=1560; // Rigth edge of wavelength range in nm
lambda0=1545; // Center of the band in nm
L=80; // Fiber length in km
disp('We choose center of band (lambda_0) for large maximum allowable dispersion slope.');
Dlambda2=1100/L; // Dispersion at rigth edge of band in ps/nm/km
S=Dlambda2/(lambda2-lambda0); // Dispersion slope in ps/nm^2/km
// Displaying the result in command window
printf('\n Dispersion slope = %0.3f ps/nm^2/km',S);
|