am i doing #1 right?
I'm still a bit confused of how to do legendre polynomials. For #1, I have to expand the function sin(x) in a series of legendre polynomials Pn(x) on the interval x E [-1,1]. Would I do this like the taylor series, x-x^3/3!+x^5/5!-x^7/7!+...
So would P0(x) be x, P1(x)=x^3/3!, P2(x)=x^5/5!, P3(x)=x^7/7!
Still don't know how to plot it..