summaryrefslogtreecommitdiff
path: root/3638/CH18/EX18.6/Ex18_6.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3638/CH18/EX18.6/Ex18_6.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-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/CH18/EX18.6/Ex18_6.sce')
-rw-r--r--3638/CH18/EX18.6/Ex18_6.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3638/CH18/EX18.6/Ex18_6.sce b/3638/CH18/EX18.6/Ex18_6.sce
new file mode 100644
index 000000000..407338883
--- /dev/null
+++ b/3638/CH18/EX18.6/Ex18_6.sce
@@ -0,0 +1,20 @@
+//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
+//Example 18.6
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+//given
+b=62.5e-6;//Fiber radius in m
+R=20e-2;//Loop radius in m
+lambda0=633e-9;//Wavelength in m
+C=0.133;//Value of constant C for a silica fiber at 633 nm
+V=4.6e-6;//Verdet constant for silica in rad/A
+N=30;//Number of turns of fiber
+I=1;//Current through the fiber in A
+
+Delta=((2*%pi)^2)*R*N*(-C*(b/R)^2)/lambda0;//The Corresponding dimensionless birefringence
+mprintf("\n Delta= %.2f rad",Delta);//The negative sign indicates that the polarization of the slow wave is perpendicular to the optic axis
+
+Theta=V*N*I;//Corresponding rotation of plane of polarization in rad
+mprintf("\n Theta= %.2e rad",Theta);//The answers vary due to round off error