R - Le théorème de Pythagore