Babylonians calculated with triangles centuries before Pytha