Source: http://www.lnw.lu/Departements/Physique/personnel/reiyv/documents/latex/exercice8.pdf