Algebra and Summation Example

1.    Generate cos summation:

2.    Expand summation:

3.    Divide equation by "x":

4.    Expand:

5.    Integrate equation and destribute integration:

 

6.    Use al\terms to make list of terms:

7.    Exchange order of integration and summation on term #2:

 

8.    Replace term #2 with answer:

 

9.    Join term list to remake equation: