clc //to calculate half angular width e=1.2*10^-4 //width of slit in cm y=6*10^-5 //wavelength of monochromatic light in cm theta=y/e disp("half angular width of central bright maxima is theta="+string(theta)+"radian")