//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)