I have a doubt about this exercise, it's about finding complex roots of a a complex equation (raised to a power greater than 1). I don't know if this method is correct, even if the solutions seem right.
I need to solve this exercise $$z^2 = -6$$
my attempt:
- I used an external variable $w$, $w = z^2$ $$ w = -6 $$
- now, I found a, b, rho, and theta. (rho is the norm of the complex number, and theta is the angle between the hypotenuse and the x-axis). $$a = -6\space (a\space is\space the\space real\space part)$$ and $$b = 0 \space(the\space imaginary\space part) $$ and now rho, and theta $$rho = ||-6|| = \sqrt(-6^2) = 6$$ and $$theta = arctan(b/a) = 0$$
okay, now I rewrote it in trigonometric form, and raising to 1/2 (because 2 is the power). $$w = \sqrt(6)*(cos(1/2 * 0+2k\pi)+sin(1/2 * 0+2k\pi)$$ and now I found easily complex roots, with k = 0, and with k = 1. $z = \sqrt(6) \space \space \space \space z = -\sqrt(6)$.
atan2(0,-6)gives about $3.141593$ (your favourite might reverse these) – Henry Jan 21 '22 at 08:46