blob: 20af4c7984912e0cfc9956121db7a278b6ec611e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Example 2.11
//Calculation of (a) reflection and (b) loss of light signal at joint areas.
// Page no 482
clc;
clear;
close;
// Given data
n1=1.5; // Refractive index of core
n=1; // Refractive index of air
// (a) Reflection at the fiber air interface
R=((n1-n)/(n1+n))^2;
// (b) Light loss due to fiber air interface
l= -10*log10(1-R);
//Display result on command window
printf("\n Reflection at the fiber air interface = %0.2f ",R);
printf("\n Light loss due to fiber air interface (dB)= %0.2f ",l);
|