Find trig derivative of $y=4x(7x+\cot{7x})^6$ Find trig derivative of $y=4x(7x+\cot{7x})^6$.
I got $y'= 4(7x+\cot{7x})^6 + 168x(7x+\cot{7x})^5 (\cot^2 {7x})$ but I'm not sure I did it right.  
Your help is appreciated (:

use the logarithmic derivative. here is how it works. 
let $$y = 4x(7x + \cot 7x)^6, \ln y = \ln 4 + \ln x + 6 \ln(7x \sin 7x + \cos 7x) - 6 \ln \sin 7x $$ taking the derivative, we get 
$$\begin{align}\frac 1y\frac{dy}{dx} &=\frac 1x+6\left(\frac{7\sin 7x+49x\cos7 x-7\sin7 x}{7x\sin 7x + \cos 7x}- \frac{7\cos 7x}{\sin 7x}\right) \\
&=\frac 1x+42\left(\frac{(\sin 7x+7x\cos 7x-\sin 7x)\sin 7x - \cos 7x(7x \sin 7x+\cos 7x)}{7x\sin 7x + \cos 7x}\right)\\
&=\frac 1x-\frac{ 42\cos^2 7x}{7x\sin 7x + \cos 7x}
\end{align}$$
