i: angle of incidence d: gratingpitch lam: wavelength k: diffraction order ni: refraction index of the first medium nr: refraction index of the second medium id: diffraction angle did: angular spectral dispersion ( variation of diffraction angle for a wavelength shift of + 1 nm )