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/CH2 | |
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/CH2')
-rw-r--r-- | 3638/CH2/EX2.1/Ex2_1.jpg | bin | 0 -> 54227 bytes | |||
-rw-r--r-- | 3638/CH2/EX2.1/Ex2_1.sce | 15 | ||||
-rw-r--r-- | 3638/CH2/EX2.2/Ex2_2.jpg | bin | 0 -> 52880 bytes | |||
-rw-r--r-- | 3638/CH2/EX2.2/Ex2_2.sce | 15 | ||||
-rw-r--r-- | 3638/CH2/EX2.3/Ex2_3.jpg | bin | 0 -> 54529 bytes | |||
-rw-r--r-- | 3638/CH2/EX2.3/Ex2_3.sce | 15 | ||||
-rw-r--r-- | 3638/CH2/EX2.4/Ex2_4.jpg | bin | 0 -> 69450 bytes | |||
-rw-r--r-- | 3638/CH2/EX2.4/Ex2_4.sce | 16 | ||||
-rw-r--r-- | 3638/CH2/EX2.5/Ex2_5.jpg | bin | 0 -> 65321 bytes | |||
-rw-r--r-- | 3638/CH2/EX2.5/Ex2_5.sce | 12 | ||||
-rw-r--r-- | 3638/CH2/EX2.6/Ex2_6.jpg | bin | 0 -> 74419 bytes | |||
-rw-r--r-- | 3638/CH2/EX2.6/Ex2_6.sce | 11 | ||||
-rw-r--r-- | 3638/CH2/EX2.7/Ex2_7.jpg | bin | 0 -> 88897 bytes | |||
-rw-r--r-- | 3638/CH2/EX2.7/Ex2_7.sce | 17 | ||||
-rw-r--r-- | 3638/CH2/EX2.8/Ex2_8.jpg | bin | 0 -> 87703 bytes | |||
-rw-r--r-- | 3638/CH2/EX2.8/Ex2_8.sce | 11 | ||||
-rw-r--r-- | 3638/CH2/EX2.9/Ex2_9.jpg | bin | 0 -> 100680 bytes | |||
-rw-r--r-- | 3638/CH2/EX2.9/Ex2_9.sce | 11 |
18 files changed, 123 insertions, 0 deletions
diff --git a/3638/CH2/EX2.1/Ex2_1.jpg b/3638/CH2/EX2.1/Ex2_1.jpg Binary files differnew file mode 100644 index 000000000..fcaf4dc89 --- /dev/null +++ b/3638/CH2/EX2.1/Ex2_1.jpg diff --git a/3638/CH2/EX2.1/Ex2_1.sce b/3638/CH2/EX2.1/Ex2_1.sce new file mode 100644 index 000000000..80497f19a --- /dev/null +++ b/3638/CH2/EX2.1/Ex2_1.sce @@ -0,0 +1,15 @@ +//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
+//Example 2.1
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+//given
+P=1e-3;//power of laser beam in W
+A=3e-6;//cross-sectional area of laser beam in m^2
+I=P/A;//power per unit area of laser beam in W/m^2
+n=1;//refractive index of air medium
+c=3e8;//speed of light in air medium in m/s
+meu0=4*(%pi)*1e-7;//permeability of free space in SI units
+E0=sqrt(2*c*meu0*I/n)//Corresponding electric field in V/m
+mprintf("Electric field=%.1f V/m",E0);//The answers vary due to round off error
diff --git a/3638/CH2/EX2.2/Ex2_2.jpg b/3638/CH2/EX2.2/Ex2_2.jpg Binary files differnew file mode 100644 index 000000000..574dfc423 --- /dev/null +++ b/3638/CH2/EX2.2/Ex2_2.jpg diff --git a/3638/CH2/EX2.2/Ex2_2.sce b/3638/CH2/EX2.2/Ex2_2.sce new file mode 100644 index 000000000..690ac63a0 --- /dev/null +++ b/3638/CH2/EX2.2/Ex2_2.sce @@ -0,0 +1,15 @@ +//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
+//Example 2.2
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+//given
+P=10;//power of bulb in W
+A=4*%pi*1e2;//cross-sectional area covered by bulb in m^2
+I=P/A;//power per unit area of bulb in W/m^2
+n=1;//refractive index of air medium
+c=3e8;//speed of light in air medium in m/s
+meu0=4*(%pi)*1e-7;//permeability of free space in SI units
+E0=sqrt(2*c*meu0*I/n)//Corresponding electric field in V/m
+mprintf("Electric field=%.1f V/m",E0);//Final answer
diff --git a/3638/CH2/EX2.3/Ex2_3.jpg b/3638/CH2/EX2.3/Ex2_3.jpg Binary files differnew file mode 100644 index 000000000..2288ecbc8 --- /dev/null +++ b/3638/CH2/EX2.3/Ex2_3.jpg diff --git a/3638/CH2/EX2.3/Ex2_3.sce b/3638/CH2/EX2.3/Ex2_3.sce new file mode 100644 index 000000000..04e86cc87 --- /dev/null +++ b/3638/CH2/EX2.3/Ex2_3.sce @@ -0,0 +1,15 @@ +//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
+//Example 2.3
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+//given
+P=1e-3;//power of laser beam in W
+A=%pi*(6e-6)^2;//cross-sectional area of spot of laser beam in m^2
+I=P/A;//power per unit area of laser beam in W/m^2
+n=1;//refractive index of air medium
+c=3e8;//speed of light in air medium in m/s
+meu0=4*(%pi)*1e-7;//permeability of free space in SI units
+E0=sqrt(2*c*meu0*I/n)//Corresponding electric field in V/m
+mprintf("Electric field=%.1e V/m",E0);//The answers vary due to round off error
diff --git a/3638/CH2/EX2.4/Ex2_4.jpg b/3638/CH2/EX2.4/Ex2_4.jpg Binary files differnew file mode 100644 index 000000000..282cd8905 --- /dev/null +++ b/3638/CH2/EX2.4/Ex2_4.jpg diff --git a/3638/CH2/EX2.4/Ex2_4.sce b/3638/CH2/EX2.4/Ex2_4.sce new file mode 100644 index 000000000..7635c0ab8 --- /dev/null +++ b/3638/CH2/EX2.4/Ex2_4.sce @@ -0,0 +1,16 @@ +//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
+//Example 2.4
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+//given Case(1)
+n1=1;//refractive index of air
+n2=1.45;//refractive index of silica
+R=[(n1-n2)/(n1+n2)]^2;//corresponding energy reflection coefficient
+mprintf("Energy reflection coefficient for air-silica interface=%.2f",R);
+//given Case(2)
+n1=1;//refractive index of air
+n2=3.6;//refractive index of GaAs
+R=[(n1-n2)/(n1+n2)]^2;//corresponding energy reflection coefficient
+mprintf("\n Energy reflection coefficient for GaAs-air interface=%.2f",R);
diff --git a/3638/CH2/EX2.5/Ex2_5.jpg b/3638/CH2/EX2.5/Ex2_5.jpg Binary files differnew file mode 100644 index 000000000..c310e887b --- /dev/null +++ b/3638/CH2/EX2.5/Ex2_5.jpg diff --git a/3638/CH2/EX2.5/Ex2_5.sce b/3638/CH2/EX2.5/Ex2_5.sce new file mode 100644 index 000000000..bff5a8dc1 --- /dev/null +++ b/3638/CH2/EX2.5/Ex2_5.sce @@ -0,0 +1,12 @@ +//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
+//Example 2.5
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+//given
+n1=1.45;//refractive index of silica
+n2=1;//refractive index of air
+thetac=asin(n2/n1);//critical angle for the air-silica interface in radians
+mprintf("Critical angle for air-silica interface=%.1f degrees",thetac*180/%pi);//multiplying by 180/pi to convert radians to degrees
+
diff --git a/3638/CH2/EX2.6/Ex2_6.jpg b/3638/CH2/EX2.6/Ex2_6.jpg Binary files differnew file mode 100644 index 000000000..46a60a0fd --- /dev/null +++ b/3638/CH2/EX2.6/Ex2_6.jpg diff --git a/3638/CH2/EX2.6/Ex2_6.sce b/3638/CH2/EX2.6/Ex2_6.sce new file mode 100644 index 000000000..b7e9b14db --- /dev/null +++ b/3638/CH2/EX2.6/Ex2_6.sce @@ -0,0 +1,11 @@ +//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
+//Example 2.6
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+//given
+n1=1.46;//refractive index of doped silica
+n2=1.45;//refractive index of pure silica
+thetac=asin(n2/n1);//critical angle for interface between doped silica and pure silica in radians
+mprintf("Critical angle for interface between doped silica and pure silica=%.1f degrees",thetac*180/%pi);//multiplying by 180/pi to convert radians to degrees
diff --git a/3638/CH2/EX2.7/Ex2_7.jpg b/3638/CH2/EX2.7/Ex2_7.jpg Binary files differnew file mode 100644 index 000000000..25c7d52d2 --- /dev/null +++ b/3638/CH2/EX2.7/Ex2_7.jpg diff --git a/3638/CH2/EX2.7/Ex2_7.sce b/3638/CH2/EX2.7/Ex2_7.sce new file mode 100644 index 000000000..8fd1649b4 --- /dev/null +++ b/3638/CH2/EX2.7/Ex2_7.sce @@ -0,0 +1,17 @@ +//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
+//Example 2.7
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+//given Case(1)
+lambda=850e-9;//wavelength of LED in m
+deltalambda=30e-9;//spacing between wavelengths in m
+lc=(lambda)^2/deltalambda;//Corresponding coherence length
+mprintf("Coherence length of LED=%.1f um",lc/1e-6);//Dividing by 10^(-6) to convert in micrometers
+//The answers vary due to round off error
+//given Case(2)
+lambda=850e-9;//wavelength of laser diode in m
+deltalambda=2e-9;//spacing between wavelengths in m
+lc=(lambda)^2/deltalambda;//Corresponding coherence length
+mprintf("\n Coherence length of laser diode=%.2f mm",lc/1e-3);//Dividing by 10^(-3) to convert in millimeters
diff --git a/3638/CH2/EX2.8/Ex2_8.jpg b/3638/CH2/EX2.8/Ex2_8.jpg Binary files differnew file mode 100644 index 000000000..07f0c9f33 --- /dev/null +++ b/3638/CH2/EX2.8/Ex2_8.jpg diff --git a/3638/CH2/EX2.8/Ex2_8.sce b/3638/CH2/EX2.8/Ex2_8.sce new file mode 100644 index 000000000..92bf2906a --- /dev/null +++ b/3638/CH2/EX2.8/Ex2_8.sce @@ -0,0 +1,11 @@ +//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
+//Example 2.8
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+//given
+deltanu=1.5e9;//change in frequency of He-Ne laser in Hz
+c=3e8;//speed of light in m/s
+lc=c/deltanu;//Corresponding coherence length
+mprintf("Coherence length of He-Ne laser=%.1f cm",lc/1e-2);//Dividing by 10^(-2) to convert in cm
diff --git a/3638/CH2/EX2.9/Ex2_9.jpg b/3638/CH2/EX2.9/Ex2_9.jpg Binary files differnew file mode 100644 index 000000000..b0519bb57 --- /dev/null +++ b/3638/CH2/EX2.9/Ex2_9.jpg diff --git a/3638/CH2/EX2.9/Ex2_9.sce b/3638/CH2/EX2.9/Ex2_9.sce new file mode 100644 index 000000000..92b447ef5 --- /dev/null +++ b/3638/CH2/EX2.9/Ex2_9.sce @@ -0,0 +1,11 @@ +//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
+//Example 2.9
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+//given
+lambda0=1300e-9;//wavelength of single-mode fiber in m
+omega0=5e-6;//spot size of beam in m
+theta=atan(lambda0/(%pi*omega0));//Corresponding divergence in radians
+mprintf("Divergence of beam=%.2f degrees",theta*180/%pi);//multiplying by 180/pi to convert radians to degrees
|