A diffraction grating is a set of parallel slits used to disperse light using Fraunhofer diffraction. Let there
be N slits of width
where k is the wavenumber and x is the distance from the origin in the direction perpendicular to the slits. Now define the length parameter
then
so the resulting intensity function is given by
Diffraction, Fraunhofer Diffraction, Scalar Diffraction Theory