Chapter5 - Optical fibre connection

Exa 5.1 : page 92

In [2]:
from numpy import log10
from __future__ import division
#Given data :
n=1.5 #refractive index
R=((1-n)/(1+n))**2 #unitless
print "Reflected light = %0.f %% " %(R*100) 
print "The remainder transmitted light = %0.f %% "%(100-R*100)
loss=-10*log10(1-R) #in dB
print "Transmission loss = %0.3f dB" %loss 
Reflected light = 4 % 
The remainder transmitted light = 96 % 
Transmission loss = 0.177 dB

Exa 5.2 : page 92

In [3]:
#Given data :
n1=3.6 #refractive index
n2=1.48 #refractive index
R=((n1-n2)/(n1+n2))**2 #unitless
loss=-10*log10(1-R) #in dB
print "Transmission loss = %0.2f dB " %loss 
Transmission loss = 0.83 dB