#Goven
d=5*10**-3 #m
D=1.0 #m
b=0.1092*10**-3
#Calculation
l=(d*b)/D
#Result
print"Wavelength of light used is", l*10**10,"A"
#Given
l=6200*10**-10 #m
D=0.8
b=2.8*10**-3/4.0
#Calculation
d=(l*D)/b
#Result
print"Separation of the two slit is", round(d*10**3,1),"mm"
#Given
a=62
l=5893
l1=4358.0
#Calculation
n=(a*l)/l1
#Result
print"Fringes required is", round(n,0)
#Given
l=6000*10**-10 #m
D=0.800 #m
d=0.200*10**-3 #m
#Calculation
x2=(3*l*D)/(2.0*d)
x21=(2*D*l)/d
#Result
print"(i) Distance of the second dark fringe is", x2*10**2,"cm"
print"(ii) Distance of the second dark fringe is", x21*10**2,"cm"
#Given
Imax=16
Imin=4
#Calculation
r=Imax/Imin
#Result
print"Deduce the ratio of intensity is", r,":1"
#Given
b=2
u=1.33
#Calculation
b1=b/u
#Result
print"Fringe width is", round(b1,1),"mm"
#Given
b2=0.4
b1=0.6
l1=5000
#Calculation
l2=(b2*2*l1)/b1
#Result
print"Wavelength of the light is", round(l2,0),"A"
#Given
d=0.125*10**-3 #m
l=4500*10**-10 #m
D=1 #m
#Calculation
x2=(2*D*l)/d
d1=2*x2
#Result
print"Separation between the fringes is", d1*10**3,"mm"
#Given
Imax=121
Imin=81.0
#Calculation
a=Imax/Imin
#Result
print"The ratio of intensity at the maxima and minima is",round(a,2)
#Given
l=5.0 #m
d=1 #mm
#Calculation
a=d/l
#Result
print"Width of each slit is", a,"mm"