Source: http://www-verimag.imag.fr/~moy/cours/infocpp-S2/TP/TP3/tp3-integrale.pdf