Trigonometric functions to a power | Differentiating with the Chain Rule