diff options
Diffstat (limited to '3547/CH2/EX2.3/Ex2_3.sce')
-rw-r--r-- | 3547/CH2/EX2.3/Ex2_3.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/3547/CH2/EX2.3/Ex2_3.sce b/3547/CH2/EX2.3/Ex2_3.sce new file mode 100644 index 000000000..f6d556410 --- /dev/null +++ b/3547/CH2/EX2.3/Ex2_3.sce @@ -0,0 +1,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');
|