blob: 564b679d5f21df814596ec26189177359bba0fd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc
//to calculate wavelength of light and missing orders
omega=0.25 //fringe width in cm
D=170 //distance in cm
twod=0.04 // distance in cm
lambda=omega*twod/D
disp("wavelength of light is lambda="+string(lambda)+"cm")
e=0.08 //width of slit in mm
d=0.4 //in mm
m=1
n=m*(e+d)/e
disp("missing order is n="+string(n)+"unitless")
//we can also find order for m=2,3,....
|