hey guys
the solution is something like this
|x|= 0 when 0<=x<=1
|x|=1 when 1<=x<=2
and so on
So break the integral and we have
F(0 to 1) 0*e^-x + F(1 to 2) 1*e^-x+ F(2 to 3).........
i am using F as the symbol for the integral.
now F e^-x = -e^-x
so the integral becomes-
-{(e^-2 - e^-1)...