Expand f(x)=x,0<x<π, as a half-range sine series.
By integrating the series show that a Fourier cosine series for x2,0<x<π, can be written as
x2=2a0+n=1∑∞ancosnx
where an,n=1,2,…, should be determined and
a0=8n=1∑∞n2(−1)n−1
By evaluating a0 another way show that
n=1∑∞n2(−1)n−1=12π2