# DSP, going from freq domain to time domain

1. Dec 4, 2013

### cutesteph

1. The problem statement, all variables and given/known data

X(w) = 3cos(2w) + 2 sin(3w)

calculate x(n)

2. Relevant equations

x(n) = (1/2pi) ∫ X(w) e^(jwn)dw

3. The attempt at a solution

When integrating over 0 to 2 pi, my answer is 0. Which would not be the case.

2. Dec 4, 2013

### jbunniii

Can you please show your calculation? In particular, be careful with the cases $n=2$ and $n=3$.

3. Dec 4, 2013

### cpscdave

It for sure shouldn't be 0 :D

You must've made a mistake with the integration. Do you know what the answer SHOULD be?