Source: http://mathematiques.daval.free.fr/IMG/pdf/Exos_F6_Primitives_TSTI2D.pdf