Источник TeX:
\cos{\alpha}=\frac{1-\frac{r^{2}}{R^{2}}}{1+\frac{r^{2}}{R^{2}}}