Source: https://mathparadise.pagesperso-orange.fr/terminale_s/donnees_2018/ds04_enonce.pdf