Use $\int \cos(x)\mathrm{d}x=\sin(x)$ from the table of common integrals to obtain the result.
$$\sin(x)$$
The definite integral is the antiderivative of the expression evaluated at the upper limit of integration minus the antiderivative evaluated at the lower limit of integration.