# Simple Fourier series problem

## Homework Statement

Find the Fourier series for ex for x in (-1,1).
Find the Parseval identity.

## The Attempt at a Solution

$$c_{n}=\frac{1}{2}\int_{-1}^{1}e^{x}e^{-i n x}dx$$
Where cn are the coefficients of the Fourier series.

I tried plotting
$$\sum_{k=-\infty}^{\infty}c_{n}e^{i n x}$$
together with ex and it doesn't seem to be correct...

Last edited:

LCKurtz
$$c_n = \frac 1 {2p}\int_{-p}^p f(x) e^{\frac {i n \pi}{p}}dx$$