I would like to plot this function:
$$x - {(\cos(x) + i\sin(x))^{ix}} = 0$$
I remember about $\cos(x) + i\sin(x) = e^{ix}$, so this can be written as $$x - {(e^{ix})^{ix}} = 0$$
or maybe better $$x - {e^{ixix}} = 0$$ I know it's not that hard, but my math background is very rusty. I tried with wolfram, but I'm not sure why it's not plotting it. Maybe for the $i$?
Is there another tool I can use?
We have $f(x)=x-(\cos x+i\sin x)^{ix}=x-e^{-x^2}$. Plot this function and find that $f(x)=0$ when $x\approx. 0.65291862487151$.