Source: http://tgensti.pagesperso-orange.fr/cours/deperditions.pdf