https://gaviki.com/blog/state-the-domain-of-the-sine-and-cosine-functions/