Source: https://mathscolbert.pagesperso-orange.fr/taleS/Cours/ch8/integrales.pdf