Source: https://www.maths-france.fr/Terminale/TerminaleS/Cours/08-integration.pdf