This is known as the Pytagorean Theorem. It says that, in a right triangle, the sum of the squares of the legs (a and b) = the square on the hypoteneuse (the side opposite the right angle = "c")
Here's a good website (Purplemath) that has lots of examples !!!.......http://www.purplemath.com/modules/pythagthm.htm