Student Support Forum: 'Bug in Integrate' topicStudent Support Forum > General > "Bug in Integrate"

 < Previous Comment | Next Comment > Help | Reply To Comment | Reply To Topic
 Author Comment/Response Forum Moderator email me 11/20/12 11:59am Gentlemen, Thank you for taking to time to post these reports. \$Assumptions works better when the right side is a list. (There are still strange features of this, so it was good to be reported.) In[1]:= ser = Normal[Series[Exp[I*n*Sin[t] + k*I*t], {n, 0, 5}]] ; In[2]:= \$Assumptions = Element[k, Integers]; In[3]:= Integrate[ser, {t, 0, 2*Pi}] Out[3]= 0 In[4]:= \$Assumptions = {Element[k, Integers]} ; In[5]:= Integrate[ser, {t, 0, 2*Pi}] // InputForm Out[5]//InputForm= (-I)*(-1 + E^((2*I)*k*Pi))*(-(n/(-1 + k^2)) - n^3/(9 - 10*k^2 + k^4) + n^4/(64*k - 20*k^3 + k^5) - n^5/(-225 + 259*k^2 - 35*k^4 + k^6) + (1 + n^2/(-4 + k^2))/k) In[6]:= \$Version Out[6]= 8.0 for Mac OS X x86 (64-bit) (October 5, 2011) URL: ,

 Subject (listing for 'Bug in Integrate') Author Date Posted Bug in Integrate Sergey 11/18/12 09:01am Re: Bug in Integrate yehuda 11/18/12 3:45pm Re: Re: Bug in Integrate yehuda 11/18/12 4:09pm Re: Bug in Integrate Forum Modera... 11/20/12 11:59am Re: Re: Bug in Integrate Yehuda 11/20/12 12:50pm
 < Previous Comment | Next Comment > Help | Reply To Comment | Reply To Topic