Source: https://www.grenoble-sciences.fr/pap-ebook/grivet/sites/grivet/files/exercices/ch5/ch5ex7_horner.pdf