(a) Let $f(x) =\sin^{2}\!\left(x\right)$. Find $f'(x)$.
$f'(x) =$
(b) Let $f(x) =\sin\!\left(x^{2}\right)$. Find $f'(x)$.
$f'(x) =$

You can earn partial credit on this problem.