1. The problem statement, all variables and given/known data Trying to find the Nth degree fourier polynomial of f(x) =e^x for x between -pi to pi. 2. Relevant equations 3. The attempt at a solution I'm trying to calculate ak which is given by 1/∏ ∫e^x cos kx dx from -∏ to ∏ I'm getting stuck here trying to use integration by parts. The integral in integration by parts is basically recursive no matter what I set for u or dv.