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