For interference to occur using double slit, waves packets from a light source must be coherent. But how about for that using diffraction grating?
http://hyperphysics.phy-astr.gsu.edu/hbase/phyopt/grating.html#c1
It states that:
The hydrogen gas in a thin glass tube is excited by an electrical discharge and the spectrum can be viewed through the grating.
and
The tracks of a compact disc act as a diffraction grating, producing a separation of the colors of white light.
But I am confused because I don't see the above situations can give coherent light source.