Source: https://mangeard.maths.free.fr/Ecole/Quatriemes/2010-2011/DS4(Pythagore).pdf