Chapter 3 : Polarization

Example number 1 , Page number 65

In [1]:
#importing module
import math
from __future__ import division

#Variable declaration
theta=math.radians(60)                #angle in radians

#Calculations
Intensityred=100-(1-math.cos(theta)**2)*100

#Result
print"Percentage of light that passes through= ",Intensityred,"%"
Percentage of light that passes through=  25.0 %

Example number 2 , Page number 66

In [2]:
#importing module
import math
from __future__ import division

#Variable declaration
lamda=6000              #wavlenght in Armstrong

#Calculations
Ie=3/4
Io=1/4
Ratio=Ie/Io

#Result
print"Ratio of the two intensities Ie:Io = 3:1"
Ratio of the two intensities Ie:Io = 3:1

Example number 3 , Page number 67

In [3]:
#importing module
import math
from __future__ import division

#Variable declaration
myu=1.55                #refractive index of glass

#Calculations
theta_p=math.degrees(math.atan(myu))
theta_r=math.degrees(math.asin(math.sin(math.radians(theta_p))/1.55))
Total=theta_p+theta_r

#Result
print"Angle of polarization= %2.3f degrees" %theta_p
print"Angle between reflected and refracted ray= %i degrees" %Total
Angle of polarization= 57.171 degrees
Angle between reflected and refracted ray= 90 degrees

Example number 4 , Page number 67

In [4]:
#importing module
import math
from __future__ import division

#Variable declaration
lamda=6000*10**-8       #wavelength
no=1.544                #refractive index of O-ray
ne=1.553                #refractive index of E-ray

#Calculations
t=lamda/(4*(ne-no))/10**-3

#Result
print"thickness of a quarterwave plate= %1.2f*10**-5 m" %t
thickness of a quarterwave plate= 1.67*10**-5 m

Example number 5 , Page number 67

In [5]:
#importing module
import math
from __future__ import division

#Variable declaration
lamda=6000*10**-8       #wavelength
no=1.54                #refractive index of O-ray
ne=1.55                #refractive index of E-ray

#Calculations
t=lamda/(6*(ne-no))

#Result
print"thickness of a quarterwave plate= %1.3f" %t
thickness of a quarterwave plate= 0.001

Example number 6 , Page number 68

In [6]:
#importing module
import math
from __future__ import division

#Variable declaration
lamda=6000*10**-8       #wavelength
no=1.54                 #refractive index of O-ray
ne=1.55                 #refractive index of E-ray

#Calculations
t=lamda/(2*(ne-no))

#Result
print"thickness of a quarterwave plate= %1.3f cm" %t
thickness of a quarterwave plate= 0.003 cm

Example number 7 , Page number 68

In [7]:
#importing module
import math
from __future__ import division

#Variable declaration
l=2                    #length of the tube
s=60                   #specific rotation
theta=12               #angle of rotation of plane vibration

#Calculations
C=theta/(l*s)*100

#Result
print"The solution is of %i%%" %C
The solution is of 10%