Source: https://www.loukam.net/ExamSys1_LMD_2011_2012_EpreuveCorrige.pdf