Solve the complex equations I have a question from complex calculus. How to solve this two equations: 
a)
$$
\sin(z)=2015
$$
I know that $\sin(z)$ equals to 
$$
\frac{e^{iz}-e^{-iz}}{2i}
$$
And i don't know whats next.

b)
$$
e^{z^{2}}=1
$$
I know that
$$
e^{z}=e^{x}(\cos(y)+i\sin(y))
$$
Can you help me to solve this equations? 

$$sin(z)=2015 <=> z=sin^{-1}(2015)=\frac{\pi}{2}-i*ln(2014+24\sqrt{7049})$$
It gives us (for Z is the set of integers, n element of Z):
$$z=2\pi n+\pi-sin^{-1}(2015)=2\pi n+\pi-(\frac{\pi}{2}-i*ln(2014+24\sqrt{7049}))$$
Or:
$$z=2\pi n+\pi+sin^{-1}(2015)=2\pi n+\pi+(\frac{\pi}{2}-i*ln(2014+24\sqrt{7049}))$$
And:
$$(e^z)^2=1$$
Integer solution is:
$$z=0$$
It gives us (for Z is the set of integers, n element of Z):
$$z=\sqrt{2\pi}(-\sqrt{i*n})$$
Or:
$$z=\sqrt{2\pi}\sqrt{i*n}$$
