I am hoping someone can critique my work and see if I did this problem correctly. Thanks in advance!
NOTE: I have attached a picture file that shows my work, I hope that's okay)
Now, you didn't do it correctly...you need to subtract the areas of the rectangles that are below the x-axis.
I would suggest using the symmetry of the function (function is even) to simplify your computations, i.e.:
(the even-function rule).
Now you have the interval [0,1) where the function is negative and the interval (1,2] where the function is positive.
Okay thanks for pointing that out, I had forgot that I needed to do that. I reworked the problem and am attaching my work as a pic file. If you can, please let me know if Ive made any mistakes, Thanks!!
Your result is 10 times what it should be.
I would set it up as follows:
My advice about needing to subtract was erroneous, the summation takes care of all that. Also, the even function rule for integration was unnecessary too, as you see, we wind up with the correct either way.