# Derivative of $\int_{\sin x}^{x^2} \cos (t)dt$

How should I take the derivative of

$$f(x)=\int_{\sin x}^{x^2} \cos (t)dt?$$