Source: https://mathematiques.ac-bordeaux.fr/college2010/ressources/par_theme/18_Situations-problemes.pdf