Source: https://ge.edhec.edu/sites/ge/files/images/ecs_maths_2019_enonce_et_corrige.pdf