summaryrefslogtreecommitdiff
path: root/1883/CH2/EX2.2.1/Example2_1.sce
blob: 12f6e2e5bd41d9d43aacd41fbe5c15e4e8ced2fb (plain)
1
2
3
4
5
6
7
8
9
10
11
//Chapter-2,Example2_2_1,pg 2-10

angle=30                           //angle of incidance

n=1                                      //first minimum

wavelength=6500*10^-8                          //wavelength of light 

a=(n*wavelength)/sind(angle)                       //For minimum intensity in single slit

printf('\nvalue of a =%.5f cm\n',a)