ex1.4 144 B

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