blob: 4313f1ac80b6b01d6c5253c2f43667de707eea95 (
plain)
1
2
3
4
5
6
|
clc
//to calculate spacing between the slits
lambda=6*10^-5 //wavelength in cm
omegatheta=0.1*%pi/180 //angular width of a fringe in radians
twod=lambda/omegatheta
disp("the spacing between the slits is twod="+string(twod)+"cm")
|