Source: https://thalesm.hmalherbe.fr/gestclasse/documents/seconde/cours/cours_resolution_equations.pdf