Source TeX:
\cos(\frac{\pi}{3}) = \dfrac{\text{adj}}{\text{hyp}} = \dfrac{1}{2}