Source: https://www.ljll.math.upmc.fr/smets/LM339/LM339-exam-2012.pdf