I was recently doing some revision and encountered a slight problem with my an calculation for the fourier series..
heres the problem
consider one cycle between x=-pi and x=pi
when i calculated the an, I got 8/(pi*n) but in the textbook it says 8/(pi*n)sin(n*pi)/2 so could someone explain how the sin(n*pi)/2 came about?? Your help would be much appreciated..