Chapter 11 Polarization

Example 11.1 Page no 169

In [15]:
#given
r1=1.538                                #Refractive index of the crown glass for violet
r2=1.52                                 #Refractive index of the crown glass for red

#Calculations
import math
ip1=math.atan(r1)*180/3.14
ip2=math.atan(r2)*180/3.14

#Output
print"Polarizing angles for violet and red are ",round(ip1,3),"degrees and",round(ip2,3),"degrees"
Polarizing angles for violet and red are  56.997 degrees and 56.688 degrees

Example 11.2 Page no 169

In [22]:
#given
I=0.09
I0=1

#calculation
import math
X=math.sqrt(I/I0)
x=math.acos(X)*180/3.14
print"angle is ",round(x,2)
angle is  72.58