Source: https://math.arherstal.be/files/trig/E-simpson.pdf