\[\operatorname{arccos}z=-2i\ln\left(\left(\frac{1+z}{2}\right)^{1/2}+i\left(%
\frac{1-z}{2}\right)^{1/2}\right),\]