Source: https://maths.ac-noumea.nc/IMG/pdf/Corrige_BAC_S.pdf