pi -- 4 / | | cos(x)*2*x dx | / 0
Integral((cos(x)*2)*x, (x, 0, pi/4))
/ | | cos(x)*2*x dx = C + 2*cos(x) + 2*x*sin(x) | /
___
___ pi*\/ 2
-2 + \/ 2 + --------
4
=
___
___ pi*\/ 2
-2 + \/ 2 + --------
4
-2 + sqrt(2) + pi*sqrt(2)/4
Use the examples entering the upper and lower limits of integration.