Source: https://www.maths-cours.com/troisieme/279/ex2-recherche-des-antecedents-par-le-calcul.pdf