I was assigned this problem: $$e^{ix}=i$$ I understand that with Euler's formula, $e^{ix}=\cos x+i\sin x$. I then set up the problem as $$i=\cos x +i\sin x$$ This means that $\cos x = 0$ and $\sin x =1$. This works for $\frac{\pi}2$. It has to be multiplied $n$, so the answer should be $\frac{n\pi}2$.
This is how I did this problem. However, I believe it was marked as incorrect. Did I do something wrong? Is there another possible answer that I am missing? How should I go about solving a problem like this?