Source: http://lyc21-carnot.ac-dijon.fr/IMG/pdf/instructions_rentree_ecg_maths_appliquees_esh.pdf