diff options
Diffstat (limited to '3834/CH2')
-rw-r--r-- | 3834/CH2/EX2.2.1/Ex2_2_1.jpg | bin | 0 -> 141781 bytes | |||
-rw-r--r-- | 3834/CH2/EX2.2.1/Ex2_2_1.sce | 13 | ||||
-rw-r--r-- | 3834/CH2/EX2.2.2/Ex2_2_2.jpg | bin | 0 -> 168649 bytes | |||
-rw-r--r-- | 3834/CH2/EX2.2.2/Ex2_2_2.sce | 21 | ||||
-rw-r--r-- | 3834/CH2/EX2.2.3/Ex2_2_3.jpg | bin | 0 -> 149713 bytes | |||
-rw-r--r-- | 3834/CH2/EX2.2.3/Ex2_2_3.sce | 15 | ||||
-rw-r--r-- | 3834/CH2/EX2.3.1/Ex2_3_1.jpg | bin | 0 -> 153856 bytes | |||
-rw-r--r-- | 3834/CH2/EX2.3.1/Ex2_3_1.sce | 16 | ||||
-rw-r--r-- | 3834/CH2/EX2.3.2/Ex2_3_2.jpg | bin | 0 -> 152073 bytes | |||
-rw-r--r-- | 3834/CH2/EX2.3.2/Ex2_3_2.sce | 15 |
10 files changed, 80 insertions, 0 deletions
diff --git a/3834/CH2/EX2.2.1/Ex2_2_1.jpg b/3834/CH2/EX2.2.1/Ex2_2_1.jpg Binary files differnew file mode 100644 index 000000000..a0a9729be --- /dev/null +++ b/3834/CH2/EX2.2.1/Ex2_2_1.jpg diff --git a/3834/CH2/EX2.2.1/Ex2_2_1.sce b/3834/CH2/EX2.2.1/Ex2_2_1.sce new file mode 100644 index 000000000..0e03f0b4b --- /dev/null +++ b/3834/CH2/EX2.2.1/Ex2_2_1.sce @@ -0,0 +1,13 @@ +//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
+//Example 2.2.1
+//OS=Windows 10
+////Scilab version Scilab 6.0.0-beta-2(64 bit)
+clc;
+clear;
+
+//given
+c=3E8;//velocity of light in m/sec
+n=1.5;//refractive idex of glass
+
+v=(c/n);//light velocity in glass in m/s
+mprintf("Light velocity in glass=%.1fx10^8 m/s",v/1e8);
diff --git a/3834/CH2/EX2.2.2/Ex2_2_2.jpg b/3834/CH2/EX2.2.2/Ex2_2_2.jpg Binary files differnew file mode 100644 index 000000000..0d2c4e824 --- /dev/null +++ b/3834/CH2/EX2.2.2/Ex2_2_2.jpg diff --git a/3834/CH2/EX2.2.2/Ex2_2_2.sce b/3834/CH2/EX2.2.2/Ex2_2_2.sce new file mode 100644 index 000000000..0dafd4e63 --- /dev/null +++ b/3834/CH2/EX2.2.2/Ex2_2_2.sce @@ -0,0 +1,21 @@ +//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
+//Example 2.2.2
+//OS=Windows 10
+//Scilab version Scilab 6.0.0-beta-2(64 bit)
+clc;
+clear;
+
+//given
+n1=1;//refractive index 1
+theta1=30;//angle of incidence in degrees
+n2=1.5;//refractive index 2
+
+u=sind(theta1);
+theta2=asind(u/n2);//angle of refraction in degrees case1
+
+theta3=theta1//From figure 2.4(a) given theta3= theta1=30 degrees//angle of relection
+v=n2*sind(theta1);
+theta4=asind(v/n1)//angle of refraction in degrees case 2
+mprintf("\n Angle of reflection=%.1f degrees",theta3);
+mprintf("\n Angle of refraction case 1=%.1f degrees ",theta2);
+mprintf("\n Angle of refraction case2=%.1f degrees ",theta4);
diff --git a/3834/CH2/EX2.2.3/Ex2_2_3.jpg b/3834/CH2/EX2.2.3/Ex2_2_3.jpg Binary files differnew file mode 100644 index 000000000..775766b92 --- /dev/null +++ b/3834/CH2/EX2.2.3/Ex2_2_3.jpg diff --git a/3834/CH2/EX2.2.3/Ex2_2_3.sce b/3834/CH2/EX2.2.3/Ex2_2_3.sce new file mode 100644 index 000000000..1a62904ff --- /dev/null +++ b/3834/CH2/EX2.2.3/Ex2_2_3.sce @@ -0,0 +1,15 @@ +//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
+//Example 2.2.3
+//OS=Windows 10
+////Scilab version Scilab 6.0.0-beta-2(64 bit)
+clc;
+clear;
+
+//given
+n1=1.6;//refractive index in glass rod
+n2=1;//refractive index of air
+thetha2=90;//angle of refraction in degrees
+
+v=n2/n1;
+thethac=asind(v);//critical incident angle in degrees
+mprintf("the critical incident angle=%.2f degrees ",thethac);
diff --git a/3834/CH2/EX2.3.1/Ex2_3_1.jpg b/3834/CH2/EX2.3.1/Ex2_3_1.jpg Binary files differnew file mode 100644 index 000000000..77b74994d --- /dev/null +++ b/3834/CH2/EX2.3.1/Ex2_3_1.jpg diff --git a/3834/CH2/EX2.3.1/Ex2_3_1.sce b/3834/CH2/EX2.3.1/Ex2_3_1.sce new file mode 100644 index 000000000..dc7ee3329 --- /dev/null +++ b/3834/CH2/EX2.3.1/Ex2_3_1.sce @@ -0,0 +1,16 @@ +//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
+//Example 2.3.1
+//OS=Windows 10
+////Scilab version Scilab 6.0.0-beta-2(64 bit)
+clc;
+clear;
+
+//given
+lambda=650E-9;//wavelength in meter
+h=6.6E-34;//Planck's constant in SI units
+c=3E8;//velocity of light in m/s
+
+Ep=(h*c/lambda);//energy of single photon in V
+E=1e-3;///total energy in joules
+N=(E/Ep);//number of photos
+mprintf("\n Number of photons=%.1f x10^15 ",N/1e15);//division by 1e15 to convert the unit to x10^15
diff --git a/3834/CH2/EX2.3.2/Ex2_3_2.jpg b/3834/CH2/EX2.3.2/Ex2_3_2.jpg Binary files differnew file mode 100644 index 000000000..f4512afe6 --- /dev/null +++ b/3834/CH2/EX2.3.2/Ex2_3_2.jpg diff --git a/3834/CH2/EX2.3.2/Ex2_3_2.sce b/3834/CH2/EX2.3.2/Ex2_3_2.sce new file mode 100644 index 000000000..5b5d2e664 --- /dev/null +++ b/3834/CH2/EX2.3.2/Ex2_3_2.sce @@ -0,0 +1,15 @@ +//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
+//Example 2.3.2
+//OS=Windows 10
+////Scilab version Scilab 6.0.0-beta-2(64 bit)
+clc;
+clear;
+
+//given
+Ep=2.5*1.602*1e-19;//energy in V
+c=3E8;//velocity of light in m/s
+h=6.6261E-34;//Planck's constant in SI units
+
+lambda=(c*h/Ep);//lambda in meter
+mprintf("Wavelength is=%.1f nm. \nIt will emit green colour.",lambda*1e9);//Multiplication by 1e9 to convert the unit from m to nm
+//the answer vary due to rounding
|