#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"
#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)