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