jennyjones Messages 34 Reaction score 0 Thread starter Oct 16, 2013 #1 i want to use the Fourier method to fins an summation for y(x)=Absolute value(sin(x)) -pi<x<pi i know that cos(pi*n)=(-1)^n and get why they use cos(pi*(n+1))= (-1)^(n+1) but why is then cos(pi*(n-1)) also (-1)^(n+1) (see attachment) THANX! Attachments Knipsel.PNG 32 KB · Views: 826
i want to use the Fourier method to fins an summation for y(x)=Absolute value(sin(x)) -pi<x<pi i know that cos(pi*n)=(-1)^n and get why they use cos(pi*(n+1))= (-1)^(n+1) but why is then cos(pi*(n-1)) also (-1)^(n+1) (see attachment) THANX!
jedishrfu Mentor Insights Author Messages 15,780 Reaction score 10,656 Oct 16, 2013 #2 look at the two expressions: (-1)^(n+1) ==> (-1)^n * (-1) and (-1)^(n-1) ==> (-1)^n*(1/(-1)) = (-1)^n * (-1) so they are interchangeable.
look at the two expressions: (-1)^(n+1) ==> (-1)^n * (-1) and (-1)^(n-1) ==> (-1)^n*(1/(-1)) = (-1)^n * (-1) so they are interchangeable.