I am solving complex variable and I have solve to one problem that $\sqrt{i}^{\sqrt{i}}$. If I had $i^i$ then it become $e^{i \log i}$ and: $$i=\cos(\pi/2)+i\sin(\pi/2)\implies i=e^{\pi/2}$$ so $\log i=2ni\pi+\log e^{\pi/2}$ it become $i(4n+1)\pi/2$ which shows $e^{i(i(4n+1)\pi/2}= e^{-(4n+1)\pi/2}$ therefore $e^{i \log i}=e^{-(4n+1)\pi/2}$.
I tried stack exchange for the first time and this is my first question please help me out. I tried my best to explain.
question: show that $\sqrt{i}^{\sqrt{i}}$= $e^{-\pi/4\sqrt{2}}$(cos pie/4(√2)+i sin pie/4(√2) )

