pythagorean theorem calc find a b=12 c=15 code example Example: pythagoras calculator a^2 + b^2 = c^2