summaryrefslogtreecommitdiff
path: root/1883/CH2/EX2.2.4/Example2_4.sce
blob: 44dcb613368704b03115eb73342d08a0697ccf40 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Chapter-2,Example2_2_4,pg 2-11

a=0.16*10^-3                              //width of slit

n=1                                    //for first minimum

wavelength=5600*10^-10                        //wavelength of light 

angle=asind(n*wavelength/a)            //angular seperation 

printf('\nThe half angular width of a principal maximum is angle = %.4f degrees\n',angle)