While solving the integral of a wave function,I came across the term cos(n*pi) , where n is an integer. Is that term equal to +1 or -1 (I know that it could be either one depending on whether n is odd or even) but how do I proceed with the integral?
The Attempt at a Solution
cos (n*pi) is 1 if n is even and -1 if n is odd...but how do proceed?
thanks a lot