TeX source:
\begin{aligned}\sin (\theta) &=\frac{w_{\|}}{w} \\w_{\|} &=w \sin (\theta)=m g \sin (\theta)\end{aligned}