Source: https://mathematiques.ac-bordeaux.fr/pedaclg/sujets/communs/4/laforce/2006/laforce_4_mars06.pdf