//Chapter-2,Example2_2_5,pg 2-11 a=12*10^-7 //width of slit n=1 //for first minimum wavelength=6000*10^-10 //wavelength of light angle=asind(n*wavelength/a) //angular seperation printf('\nThe half angular width of the central maximum is angle = %.1f degrees\n',angle)