blob: f6d55641087923e588ebf8e344c4d0c816e60956 (
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
|
// Example no.2.3
// To compare deltaT for step index fiber with parabolic-index fiber
// Page no. 43
clc;
clear;
// Given data
n1=1.47; // Refractive index of core
n2=1.45; // Refractive index of cladding
L=1*10^3; // Length of medium in meter
c=3*10^8; // speedof ligth in (m/s)
delta=(n1-n2)/n1;
// The deltaT for step index fiber
deltaTSIF=((n1^2*L*delta)/(c*n2))*10^9; //Pulse width for step index fiber
// deltaT for parabolic-index fiber
deltaTPIF=((n1^2*delta^2*L)/(8*c))*10^9; // Pulse width for parabolic-index fiber
// Displaying the result in command window
printf('\n Pulse width for step index fiber = %0.2f ns',deltaTSIF);
printf('\n Pulse width for parabolic index fiber = %0.4f ns',deltaTPIF);
// The answer of pulse width for parabolic index fiber is wrong in book
disp('Thus, the intermodal dispersion can be significantly reduced by using parabolic-index fiber');
|