S = \sqrt{P^2+Q^2}