let $k\in\mathbb{C}$. What are the real and imaginary parts of any complex number $x$ so that $x^2=k$ ?
My first idea was writing $k$ and $x$ in polar form: $x=r(\cos{\phi}+i\sin{\phi})$;$k=r'(\cos{\psi}+i\sin{\psi})$. Then use De Moivre's formula such that: $x^2=r^2(\cos{2\phi}+i\sin{2\phi})=r'(\cos{\psi}+i\sin{\psi})$.
Any hints how to go on ?
Another idea could be using roots of unity: We know how $x$ looks like when $x^n=1$