MathGroup Archive 2005

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

Search the Archive

evaluate assuming odd integers?

  • To: mathgroup at
  • Subject: [mg58961] evaluate assuming odd integers?
  • From: "ab at" <at2 at>
  • Date: Mon, 25 Jul 2005 01:12:15 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Is there a way in Mathematica to evaluate an expression assuming some 
varialbe is Odd integer, for example in below integral how can i tell it 
that n is odd integer in the Assumptions section of FullSimplify command or 
the integral itself??:
Integrate[Sin[n*Pi*(z/L)], {z, 0, L}]
FullSimplify[%, n \[Element] Integers && n >= 0 &&
L \[Element] Reals && L > 0 && z \[Element] Reals]

  • Prev by Date: Re: simple question about random
  • Next by Date: Re: Download mathematica icons?
  • Previous by thread: How to rotate frametick labels?
  • Next by thread: Re: evaluate assuming odd integers?