diff options
Diffstat (limited to '3740/CH1')
-rw-r--r-- | 3740/CH1/EX1.1/Ex1_1.jpg | bin | 0 -> 55579 bytes | |||
-rw-r--r-- | 3740/CH1/EX1.1/Ex1_1.sce | 13 | ||||
-rw-r--r-- | 3740/CH1/EX1.2/Ex1_2.jpg | bin | 0 -> 70603 bytes | |||
-rw-r--r-- | 3740/CH1/EX1.2/Ex1_2.sce | 18 | ||||
-rw-r--r-- | 3740/CH1/EX1.3/Ex1_3.jpg | bin | 0 -> 70558 bytes | |||
-rw-r--r-- | 3740/CH1/EX1.3/Ex1_3.sce | 24 | ||||
-rw-r--r-- | 3740/CH1/EX1.4/Ex1_4.jpg | bin | 0 -> 65492 bytes | |||
-rw-r--r-- | 3740/CH1/EX1.4/Ex1_4.sce | 15 | ||||
-rw-r--r-- | 3740/CH1/EX1.5/Ex1_5.jpg | bin | 0 -> 142573 bytes | |||
-rw-r--r-- | 3740/CH1/EX1.5/Ex1_5.sce | 15 | ||||
-rw-r--r-- | 3740/CH1/EX1.6/Ex1_6.jpg | bin | 0 -> 61164 bytes | |||
-rw-r--r-- | 3740/CH1/EX1.6/Ex1_6.sce | 14 |
12 files changed, 99 insertions, 0 deletions
diff --git a/3740/CH1/EX1.1/Ex1_1.jpg b/3740/CH1/EX1.1/Ex1_1.jpg Binary files differnew file mode 100644 index 000000000..ad0677c78 --- /dev/null +++ b/3740/CH1/EX1.1/Ex1_1.jpg diff --git a/3740/CH1/EX1.1/Ex1_1.sce b/3740/CH1/EX1.1/Ex1_1.sce new file mode 100644 index 000000000..b60946236 --- /dev/null +++ b/3740/CH1/EX1.1/Ex1_1.sce @@ -0,0 +1,13 @@ +//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
+//Example 1.1
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+
+//given
+n1=1;//refractive index of air medium
+n2=1.5;//refractive index of glass medium
+
+thetaB=atand(n2/n1);//brewster angle for glass in degrees
+mprintf("Brewster Angle = %.1f degrees",thetaB);
diff --git a/3740/CH1/EX1.2/Ex1_2.jpg b/3740/CH1/EX1.2/Ex1_2.jpg Binary files differnew file mode 100644 index 000000000..ab75dd706 --- /dev/null +++ b/3740/CH1/EX1.2/Ex1_2.jpg diff --git a/3740/CH1/EX1.2/Ex1_2.sce b/3740/CH1/EX1.2/Ex1_2.sce new file mode 100644 index 000000000..d9b219055 --- /dev/null +++ b/3740/CH1/EX1.2/Ex1_2.sce @@ -0,0 +1,18 @@ +//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
+//Example 1.2
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+
+//given
+n=4;//number of sources
+//Let 'I' be the intensity of the sources
+
+//Case (1) :
+//For coherent sources
+mprintf("Maximum irradiance due to superposition of %d coherent sources Imax= %dI",n,n^2);
+
+//Case (2) :
+//For incoherent sources
+mprintf("\n Maximum irradiance due to superposition of %d incoherent sources Imax= %dI",n,n);
diff --git a/3740/CH1/EX1.3/Ex1_3.jpg b/3740/CH1/EX1.3/Ex1_3.jpg Binary files differnew file mode 100644 index 000000000..005320068 --- /dev/null +++ b/3740/CH1/EX1.3/Ex1_3.jpg diff --git a/3740/CH1/EX1.3/Ex1_3.sce b/3740/CH1/EX1.3/Ex1_3.sce new file mode 100644 index 000000000..df26bfb1c --- /dev/null +++ b/3740/CH1/EX1.3/Ex1_3.sce @@ -0,0 +1,24 @@ +//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
+//Example 1.3
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+
+//given - Case(1)
+D=0.1;//diameter of an objective lens in m
+d=500;//distance of the lens from the sources in m
+lambda=550e-9;//wavelength of the light used in m
+
+Smin=d*lambda/D;//minimum separation of two point sources that can just be resolved in m
+mprintf("Smin = %.2f mm",Smin/1e-3);//division by 10^(-3) to convert into mm
+
+
+//given - Case(2)
+p=1;//order of the fringe
+N=600;//number of lines used per mm
+lambda=550e-9//wavelength of the light used in m
+w=40//width of the diffraction grating in mm
+
+DeltaLambda=lambda/(p*N*w);//minimum wavelength difference that can be resolved in m
+mprintf("\n DeltaLambda = %.3f nm",DeltaLambda/1e-9);//division by 10^(-9) to convert in nm
diff --git a/3740/CH1/EX1.4/Ex1_4.jpg b/3740/CH1/EX1.4/Ex1_4.jpg Binary files differnew file mode 100644 index 000000000..157d2e665 --- /dev/null +++ b/3740/CH1/EX1.4/Ex1_4.jpg diff --git a/3740/CH1/EX1.4/Ex1_4.sce b/3740/CH1/EX1.4/Ex1_4.sce new file mode 100644 index 000000000..42b508c31 --- /dev/null +++ b/3740/CH1/EX1.4/Ex1_4.sce @@ -0,0 +1,15 @@ +//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
+//Example 1.4
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+
+//given
+A=1e-5;//source area in m^2
+T=2e3;//temperature of the source in K
+Epsilon=0.7//emissivity of the surface
+Sigma=5.67e-8//value of Stefan's constant in SI Units
+
+W=Epsilon*Sigma*A*T^4//total power radiated from the source in W
+mprintf("\n Total power radiated from the source = %.2f W",W);
diff --git a/3740/CH1/EX1.5/Ex1_5.jpg b/3740/CH1/EX1.5/Ex1_5.jpg Binary files differnew file mode 100644 index 000000000..2f26a468b --- /dev/null +++ b/3740/CH1/EX1.5/Ex1_5.jpg diff --git a/3740/CH1/EX1.5/Ex1_5.sce b/3740/CH1/EX1.5/Ex1_5.sce new file mode 100644 index 000000000..682f159f7 --- /dev/null +++ b/3740/CH1/EX1.5/Ex1_5.sce @@ -0,0 +1,15 @@ +//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
+//Example 1.5
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+
+//given
+m=9.1e-31;//rest mass of electrons in kg
+e=1.6e-19;//charge of electrons in C
+h=6.62e-34;//Planck's constant in SI Units
+Epsilon0=8.85e-12;//permittivity of vaccuum in SI Units
+
+Eion=m*(e^4)/(8*(h*Epsilon0)^2);//Ionization energy of the atom in J
+mprintf("Ionization energy of the atom = %.3e J or %f eV",Eion,Eion/1.6e-19);//The answers vary due to round off error
diff --git a/3740/CH1/EX1.6/Ex1_6.jpg b/3740/CH1/EX1.6/Ex1_6.jpg Binary files differnew file mode 100644 index 000000000..18489991d --- /dev/null +++ b/3740/CH1/EX1.6/Ex1_6.jpg diff --git a/3740/CH1/EX1.6/Ex1_6.sce b/3740/CH1/EX1.6/Ex1_6.sce new file mode 100644 index 000000000..910aa0cb9 --- /dev/null +++ b/3740/CH1/EX1.6/Ex1_6.sce @@ -0,0 +1,14 @@ +//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
+//Example 1.6
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+
+//given
+v0=1.1e15;//threshold frequency of light in Hz
+e=1.6e-19;//charge of electrons in C
+h=6.62e-34;//Planck's constant in SI Units
+
+phi=h*v0/e;//work function of the metal in eV
+mprintf("Phi = %.1f eV",phi);//The answers vary due to round off error
|