Source: http://astro.u-strasbg.fr/~siebert/pages/teaching/INFO-L1/cours4.pdf