
\[\cos z\pm i\sin z=e^{\pm iz},\]