c = \pm\sqrt{a^2 + b^2}