$\phi=\operatorname{arccos}\sqrt{\ifrac{x}{z}}=\operatorname{arcsin}\sqrt{%
\ifrac{(z-x)}{z}},$