MathGroup Archive 2008

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

Search the Archive

Why is Mathematica assuming k==l and how do I make it not to?


As in

Assuming[Element[{k, l}, Integers] ,
 Integrate[Cos[k alpha] Cos[l alpha], {alpha, -Pi, Pi}]]

I get 0 whereas the answer is Pi if k=l;

Thanks!

Aaron


  • Prev by Date: Re: Comparison between Mathematica and other symbolic systems
  • Next by Date: Format Type of new Output Cells to OutputForm
  • Previous by thread: Re: Using an locator and Rotating 3D graphics
  • Next by thread: Re: Why is Mathematica assuming k==l and how do I make it not to?