MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Re: Special permutation pattern ascending groups sum of
  • Next by Date: Re: working with lists
  • Previous by thread: Re: Special permutation pattern ascending groups sum of
  • Next by thread: Re: Correct answer for all n