a) Sketch:

math expression

b) Since the function is even, we have bn = 0.

In this example, L = π.

We have:

math expression

To find an, we use a result from before:

math expression

We have:

math expression

When n is odd, the last line gives us math expression.

When n is even, the last line equals 0.

For the series, we need to generate odd values for n. We need to use (2n - 1) for n = 1, 2, 3,...

So we have:

math expression

Check: The graph for the first 40 terms:

math expression