Source: https://seslescours.free.fr/documents/terminale/TD/2014/correction td intro.pdf