i: angle of incidenced: grating pitchlam: wavelengthk: diffraction ordern: refraction indexid: diffraction angledid: angular spectral dispersion ( variation of diffraction angle for a wavelength shift of + 1 nm )