[Date Index]
[Thread Index]
[Author Index]
Re: evaluate assuming odd integers?
*To*: mathgroup at smc.vnet.net
*Subject*: [mg59006] Re: evaluate assuming odd integers?
*From*: "Steve Luttrell" <steve_usenet at _removemefirst_luttrell.org.uk>
*Date*: Tue, 26 Jul 2005 04:03:22 -0400 (EDT)
*References*: <dc1t2f$4v8$1@smc.vnet.net>
*Sender*: owner-wri-mathgroup at wolfram.com
Simplify[Integrate[Sin[(2m+1)*Pi*(z/L)], {z, 0,
L}],Assumptions->m\[Element]Integers]
(2*L)/(Pi + 2*m*Pi)
Steve Luttrell
"ab at sd.com" <at2 at ads.com> wrote in message news:dc1t2f$4v8$1 at smc.vnet.net...
> 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??:
> In[35]:=
> 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: How to plot individual 2D data points, where each must have its own color.**
Next by Date:
**Re: evaluate assuming odd integers?**
Previous by thread:
**Re: evaluate assuming odd integers?**
Next by thread:
**Re: evaluate assuming odd integers?**
| |