diff options
Diffstat (limited to '3822/CH2/EX2.2/Ex2_2.sce')
-rw-r--r-- | 3822/CH2/EX2.2/Ex2_2.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/3822/CH2/EX2.2/Ex2_2.sce b/3822/CH2/EX2.2/Ex2_2.sce new file mode 100644 index 000000000..16be51b40 --- /dev/null +++ b/3822/CH2/EX2.2/Ex2_2.sce @@ -0,0 +1,24 @@ + +//Optoelectronics and Fiber Optics Communication by C.R. Sarkar and D.C. Sarkar
+//Example 2.2
+//OS = Windows 7
+//Scilab version 5.5.2
+
+clc;
+clear;
+
+//given
+n1=1.48;//core refractive index of a step-index fiber
+delta=0.015;//relative index difference between the core and cladding
+lamda=85*10^-8;//wavelength of the fiber in m
+V=2.405;//value of V-number for single mode
+c=(2*delta)^0.5;//constant value
+a=(V*lamda)/(2*%pi*n1*c);//value of radius of core diameter in m
+d=2*a;//diameter of core diameter in m
+mprintf("\n Core diameter of the step index fiber is =%.2f um ",d*1e6);
+delta1=0.0015;//relative index difference between the core and the cladding
+c1=(2*delta1)^0.5;//constant value
+a1=(V*lamda)/(2*%pi*n1*c1);//value of radius of core diameter in m
+d1=2*a1;//diameter of core diameter in m
+mprintf("\n Core diameter of the step index fiber is= %.2f um ",d1*1e6);//multiplication by 1e6 to convert the unit from m to um
+//the answer vary due to rounding
|