Advanced maths

It calculates Pythagoras.