Definite integral - example 6

Calculation a indefinite integral of function f(x)=cos(x). Definite integral is calculated on interval [0,π/2].