Encountered this in a sample university admission exam. $$ \lim_{x \rightarrow \pi } \frac{\sin(mx)}{\sin(nx)} \quad n,m\in \mathbb N_{> 0} $$
What surprised me was that the answare sheet suggested that the limit was equal to: $$ \left ( -1 \right )^{m-n}\;\frac{m}{n} $$ Graphing the function made it clear for me that this is the correct answer, but i cannot understand why.