ab@sd.com
2005-07-25 05:24:31 UTC
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]
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]