Trigonometric types | Differentiating with the Chain Rule