diff options
Diffstat (limited to '2243/CH15/EX15.4')
-rwxr-xr-x | 2243/CH15/EX15.4/Ex15_4.sce | 17 | ||||
-rwxr-xr-x | 2243/CH15/EX15.4/Res15_4.txt | 1 |
2 files changed, 18 insertions, 0 deletions
diff --git a/2243/CH15/EX15.4/Ex15_4.sce b/2243/CH15/EX15.4/Ex15_4.sce new file mode 100755 index 000000000..e2fe99aab --- /dev/null +++ b/2243/CH15/EX15.4/Ex15_4.sce @@ -0,0 +1,17 @@ +clc();
+clear;
+//Given :
+n1 = 1.525; // refractive index of core
+n2 = 1.500; // refractive index of cladding
+d = 30; // core diameter in mu_m
+a = d/2; // core radius in mu_m
+ab = 0.00001/100; // percentage absorbed
+delta = (n1-n2)/n1;
+Ls = a*sqrt(2/delta);// skip distance in mu_m
+//1 mu_m = 1.0*10^-6 m
+R = 1000/(Ls*10^-6); // reflections per km (1000 m)
+red_p = 1 - ab; // reduced power for each reflection
+//Power P1km = P0*red_p^(6*10^6)
+// A = 10*log10[P0/P1km] , P0 in the numerator and denominator will cancel each other
+A = 10*log10(1/(red_p)^(R));
+printf("Attenuation = %.1f dB/km",A);
diff --git a/2243/CH15/EX15.4/Res15_4.txt b/2243/CH15/EX15.4/Res15_4.txt new file mode 100755 index 000000000..54c65ad5d --- /dev/null +++ b/2243/CH15/EX15.4/Res15_4.txt @@ -0,0 +1 @@ + Attenuation = 2.6 dB/km
\ No newline at end of file |