Source: https://homepages.laas.fr/fourniol/Enseignements/cours-étudiant.PDF