(x, y) = (-3, 4) in polar coordinates: ghci> sqrt $ (-3)^2 + 4^2 5.0 ghci> atan2 4 (-3) 2.214297435588181 (r, theta) = (5, 2.214297435588181)