Correct answer for all n
- To: mathgroup at smc.vnet.net
- Subject: [mg113216] Correct answer for all n
- From: Sam Takoy <sam.takoy at yahoo.com>
- Date: Tue, 19 Oct 2010 05:55:11 -0400 (EDT)
Hi,
Assuming[Element[n, Integers],
1/(2 \[Pi]) Integrate[Sin[a]*Exp[-I*n*a], {a, -Pi, Pi}]]
returns 0, where as for n = 1 the answer is not zero. Anyway to have
Mathematica acknowledge that automatically?
Many thanks in advance,
Sam