The first derivative is $g'(x) = 2\sin x \cos x = \sin 2x$. The second derivative is $g''(x) = 2\cos 2x$. The third derivative is $g'''(x) = -4\sin 2x$ and the fourth derivative is $g''''(x) = -8\cos 2x$. This pattern continues for higher order derivatives.
Show more…