The value of∫04|x-1|dx is
52
5
4
1
Explanation for the correct answer.
Evaluate the integral.
∫04|x-1|dx=∫011-xdx+∫14x-1dx=x-x2201+x22-x14=1-12-0+8-4-12-1=12+5-12=5
Hence, option(B) is the correct answer.
The value of the given integral I=∫-10x2edx+∫01x2.dx