1 / | | x*sign(cos(x)) dx | / 0
Integral(x*sign(cos(x)), (x, 0, 1))
1/2
=
0.5
Use the examples entering the upper and lower limits of integration.