Source: https://www4.ac-nancy-metz.fr/maths-sciences-lp/doc_examens/CAP_indus/CAP_gpe_C_98.pdf