Diffraction grating: to determine the wavelength of laser