For me they both give Piecewise results in SymPy 0.7.6.1. Aaron Meurer
On Sun, Oct 18, 2015 at 10:21 PM, Bill McLean <[email protected]> wrote: > This behaviour seems strange. The case k=0 is handled correctly when > integrating cos(k*x), but not cos(k*pi*x). > > In [1]: integrate(cos(k*x),(x,0,pi)) > Out[1]: > ⎧π for k = 0 > ⎨ > ⎩0 otherwise > > In [2]: integrate(cos(k*pi*x),(x,0,1)) > Out[2]: 0 > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/776993e9-96f6-4ec0-a3cf-816951bb7658%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6LVWqsSDN--VZq%2Bbi-irRS6tOCjNn141%3DErwEdviQAuUQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
