Cartesian to polar coordinates
r
The point (x, y) is at distance r = √(x² + y²) from the origin, at the angle given by atan2(y, x).

r=5
r equals the square root of (3 squared plus 4 squared), equals the square root of (9 plus 16), equals the square root of (25), equals 5. The angle is v = arctan(y/x) only when x > 0. For x < 0 add 180° (the calculator on your device: atan2(y, x)); for x = 0 the angle is 90° or 270° by the sign of y. Measure counter-clockwise from the positive x-axis, giving 0° to 360°.
