//Example 27.2 //Also see Example 27.1 d=0.01*10^-3;//Distance between slits (m) theta=90;//Maximum diffraction angle (deg) lambda=633*10^-9;//Wavelength (m) m=d*sind(theta)/lambda;//Order of interference printf('Maximum order of interference = %d',m) //Openstax - College Physics //Download for free at http://cnx.org/content/col11406/latest