Source: https://team.inria.fr/airsea/files/2013/03/Cours_integration.pdf