∫(0,π/2)[f(cosx)cosx-f'(cosx)sin^2x]dx=
∫(0,π/2)d[sinxf(cosx)]
=sinxf(cosx)|(0,π/2)
=1*f(0)-0*f(1)
=f(0)
=1