Source: http://maths.langella.free.fr/premiere_S/02_exercices/1ereS_Ex_CH03.pdf