Solution (source code)

= Solution

The <chain rule> gives
$$
\boxed{\frac{d}{dx}\sin(x^2)=2x\cos(x^2).}
$$