diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3638/CH17/EX17.8/Ex17_8.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3638/CH17/EX17.8/Ex17_8.sce')
-rw-r--r-- | 3638/CH17/EX17.8/Ex17_8.sce | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/3638/CH17/EX17.8/Ex17_8.sce b/3638/CH17/EX17.8/Ex17_8.sce new file mode 100644 index 000000000..a302e2e82 --- /dev/null +++ b/3638/CH17/EX17.8/Ex17_8.sce @@ -0,0 +1,30 @@ +//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
+//Example 17.8
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+//given
+//Since the reflectivity of fiber is 99%,
+R=0.99;//Reflection coefficient of fiber
+lambdaB=1550e-9;//Bragg wavelength in m
+neff=1.45;//Corresponding value of effective index in LP01 mode
+DeltaLambda=1e-9;//Bandwidth of reflection spectrum in m
+I=0.75;//Typical value of transverse overlap integral of modal distribution
+
+//Now, (tanh(k*L))^2=R
+//Rearranging terms, we get: k*L=atanh(sqrt(R))
+//Let m=k*L
+m=atanh(sqrt(R));
+
+//Rearranging terms of expression DeltaLambda=lambdaB^2/(%pi*neff*L)*sqrt((k*L)^2+(%pi)^2) , we get
+L=lambdaB^2/(%pi*neff*DeltaLambda)*sqrt(m^2+(%pi)^2)//Since m=k*L
+//Length of fiber in m
+mprintf("\n L=%.2f mm",L/1e-3);//Division by 10^(-3) to convert into mm
+
+//Rearranging terms of m=k*L, we get:
+k=m/L;//Corresponding coupling coefficient in m^(-1)
+
+//Rearranging terms of expression k=%pi*Deltan*I/lambdaB
+Deltan=k*lambdaB/(%pi*I);//Change in refractive index
+mprintf("\n Deltan=%.2e",Deltan);//Unitless quantity
|