Verify by differentiation that the formula is correct

Verify by differentiation that the formula is correct. Integral cos^2xdx=1/2x+1/4sin2x+C