diff options
Diffstat (limited to '174/CH14')
-rwxr-xr-x | 174/CH14/EX14.1/example14_1.sce | 29 | ||||
-rwxr-xr-x | 174/CH14/EX14.1/example14_1.txt | 3 | ||||
-rwxr-xr-x | 174/CH14/EX14.2/example14_2.sce | 20 | ||||
-rwxr-xr-x | 174/CH14/EX14.2/example14_2.txt | 1 | ||||
-rwxr-xr-x | 174/CH14/EX14.3/example14_3.sce | 30 | ||||
-rwxr-xr-x | 174/CH14/EX14.3/example14_3.txt | 1 | ||||
-rwxr-xr-x | 174/CH14/EX14.4/example14_4.sce | 26 | ||||
-rwxr-xr-x | 174/CH14/EX14.4/example14_4.txt | 3 |
8 files changed, 113 insertions, 0 deletions
diff --git a/174/CH14/EX14.1/example14_1.sce b/174/CH14/EX14.1/example14_1.sce new file mode 100755 index 000000000..b3c0d817b --- /dev/null +++ b/174/CH14/EX14.1/example14_1.sce @@ -0,0 +1,29 @@ +// To find acceptance angle and numerical aperture
+// Modern Electronic Instrumentation And Measurement Techniques
+// By Albert D. Helfrick, William D. Cooper
+// First Edition Second Impression, 2009
+// Dorling Kindersly Pvt. Ltd. India
+// Example 14-1 in Page 392
+
+
+clear; clc; close;
+
+// Given data
+n_2 = 1.45; //Core index of refraction
+n_1 = 1.47; //Cladding index of refraction
+
+//Calculation
+theta_c = acos(n_2/n_1);
+theta_A = 2*asin(n_1*sin(theta_c));
+NA = sqrt(n_1^2 -n_2^2);
+
+printf("The critical angle of the fiber = %0.2f degree\n",theta_c*180/%pi);
+printf("The acceptance angle of the fiber = %0.2f degree\n",theta_A*180/%pi);
+printf("The numerical aperture of the fiber = %0.3f ",NA);
+
+//Result
+// The critical angle of the fiber = 9.46 degree
+// The acceptance angle of the fiber = 27.97 degree
+// The numerical aperture of the fiber = 0.242
+
+
diff --git a/174/CH14/EX14.1/example14_1.txt b/174/CH14/EX14.1/example14_1.txt new file mode 100755 index 000000000..ddf70cac0 --- /dev/null +++ b/174/CH14/EX14.1/example14_1.txt @@ -0,0 +1,3 @@ +The critical angle of the fiber = 9.46 degree
+The acceptance angle of the fiber = 27.97 degree
+The numerical aperture of the fiber = 0.242
diff --git a/174/CH14/EX14.2/example14_2.sce b/174/CH14/EX14.2/example14_2.sce new file mode 100755 index 000000000..da0344074 --- /dev/null +++ b/174/CH14/EX14.2/example14_2.sce @@ -0,0 +1,20 @@ +// To find loss in the fiber
+// Modern Electronic Instrumentation And Measurement Techniques
+// By Albert D. Helfrick, William D. Cooper
+// First Edition Second Impression, 2009
+// Dorling Kindersly Pvt. Ltd. India
+// Example 14-2 in Page 393
+
+
+clear; clc; close;
+
+// Given data
+NA_1 = 0.3; // numerical apertures of Source fiber
+NA_2 = 0.242; //numerical apertures of receiving fiber
+
+//Calculations
+loss = 20*log10(NA_1/NA_2);
+printf("The energy that is lost through the cladding of the receiving fiber = %0.2f dB",loss);
+
+//Result
+// The energy that is lost through the cladding of the receiving fiber = 1.87 dB
diff --git a/174/CH14/EX14.2/example14_2.txt b/174/CH14/EX14.2/example14_2.txt new file mode 100755 index 000000000..d8dad33fb --- /dev/null +++ b/174/CH14/EX14.2/example14_2.txt @@ -0,0 +1 @@ + The energy that is lost through the cladding of the receiving fiber = 1.87 dB
\ No newline at end of file diff --git a/174/CH14/EX14.3/example14_3.sce b/174/CH14/EX14.3/example14_3.sce new file mode 100755 index 000000000..78a2c01d9 --- /dev/null +++ b/174/CH14/EX14.3/example14_3.sce @@ -0,0 +1,30 @@ +// To find current developed in photodiode
+// Modern Electronic Instrumentation And Measurement Techniques
+// By Albert D. Helfrick, William D. Cooper
+// First Edition Second Impression, 2009
+// Dorling Kindersly Pvt. Ltd. India
+// Example 14-3 in Page 395
+
+
+clear; clc; close;
+
+// Given data
+h = 6.63*10^-34; //Planck's constant
+c = 3*10^8; //Speed of light in m/s
+lambda = 1.3*10^-6; // photon wavelength in m
+QE = 0.82; //Quantum efficiency
+p = 75*10^-6; //Power in W
+q = 1.6*10^-19; //Charge of an electron
+
+//Calculations
+e = h*c/lambda;
+N = p/e;
+N_QE= QE*N;
+I = N_QE*q;
+printf("The current developed in a PIN photodiode = %0.2e A",I);
+
+//Result
+// The current developed in a PIN photodiode = 6.43e-005 A
+
+
+
diff --git a/174/CH14/EX14.3/example14_3.txt b/174/CH14/EX14.3/example14_3.txt new file mode 100755 index 000000000..ec6c1529b --- /dev/null +++ b/174/CH14/EX14.3/example14_3.txt @@ -0,0 +1 @@ + The current developed in a PIN photodiode = 6.43e-005 A
\ No newline at end of file diff --git a/174/CH14/EX14.4/example14_4.sce b/174/CH14/EX14.4/example14_4.sce new file mode 100755 index 000000000..54a10c137 --- /dev/null +++ b/174/CH14/EX14.4/example14_4.sce @@ -0,0 +1,26 @@ +// To find elapsed time
+// Modern Electronic Instrumentation And Measurement Techniques
+// By Albert D. Helfrick, William D. Cooper
+// First Edition Second Impression, 2009
+// Dorling Kindersly Pvt. Ltd. India
+// Example 14-4 in Page 401
+
+
+clear; clc; close;
+
+// Given data
+n = 1.55; //index of refraction
+c = 3*10^8; //speed of light in m/s
+d = 1.4*10^3; //Distance in m
+
+//Calculations
+v = c/n;
+t = d/v;
+printf("t = %0.1e s",t);
+disp('Since twice the time to reach the break is required for the reflection to arrive at the reflectometer,' )
+printf("Hence the total elapsed time = %0.3e s",2*t);
+
+//Result
+// t = 7.2e-006 s
+// Since twice the time to reach the break is required for the reflection to arrive at the reflectometer,
+// Hence the total elapsed time = 1.447e-005 s
diff --git a/174/CH14/EX14.4/example14_4.txt b/174/CH14/EX14.4/example14_4.txt new file mode 100755 index 000000000..df1db212a --- /dev/null +++ b/174/CH14/EX14.4/example14_4.txt @@ -0,0 +1,3 @@ +t = 7.2e-006 s
+ Since twice the time to reach the break is required for the reflection to arrive at the reflectometer,
+Hence the total elapsed time = 1.447e-005 s
|