4.1. Use of Pythagoras’ theorem