How would i do the following:
Write a function compmag(r,m) to compute, and return, the magnitude of a complex number. It should take the real component of the number as parameter r and the imaginary component as m. Remember that |r + mi| = \sqrt{r^2 + m^2}.
Does Python have a square root function? How would you find it?