Thank you. I add a bug report into the issue <https://github.com/sympy/sympy/issues/15402>.
2018年10月17日水曜日 21時35分26秒 UTC+9 Oscar: > > On Wed, 17 Oct 2018 at 10:59, M Kamimura <[email protected] <javascript:>> > wrote: > > > > My calculation results are 14, but sympy's calculation results are 2 and > 4. > > > > https://www.mkamimura.com/2018/10/python-javascript_17.html > > > > Is it my mistake, or sympy's bug? > > It's a bug: > > In [4]: abs(sin(x)).integrate((x, 0, 8*pi)) > Out[4]: 4 > > In [5]: abs(sin(x)).integrate((x, 0, 4*pi)) > Out[5]: 4 > > In [6]: abs(sin(x)).integrate((x, 4*pi, 8*pi)) > Out[6]: 0 > > -- > Oscar > -- 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 https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/1244d024-4359-4cc5-a09f-8183e4e0b534%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
