Source: https://kalonji972.free.fr/maths/3emes/DNB/Prepa_DNB2_PYTHAGORE.pdf