On Fri, 19 Oct 2018 at 22:09, Aaron Meurer <asmeu...@gmail.com> wrote: > > You can pass the limits to integrate directly: > > >>> integrate(1/(x**2+y**2)**Rational(3,2), (y, -L/2, L/2)) > L/(x**3*sqrt(L**2/(4*x**2) + 1)) > > It's generally recommended to do this as it isn't always correct to > substitute the upper and lower values directly. However, this result > is equivalent to yours in this case, after pulling a 4 out of the > square root.
Thinking about it the answer given by sympy above is only correct for x>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 sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. 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/CAHVvXxQyYnv_wwKrWtFAXRsEnNp_immNYGc02rSVQ%3DuUUZfsiA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.