Source: http://christophebertault.fr/documents/coursetexercices/Cours - Integration sur un segment.pdf