Thank you both for your replies. I'm not sure I follow the discussion to be honest as to how it applies to my original problem. In particular:
> Distilling this down you want to compute the integral of the square >> root of a quadratic > > I'm not sure that is accurate. If you are just referring to that it is (foo(xi))**2 + (bar(xi))**2, then yes the expression is quadratic in foo and bar. But in general, foo(xi) and bar(xi) are themselves higher degree polynomials of xi (and in higher dimensions other coordinates too). This is a very simple and minimal reproducing example: in this case foo and bar are linear polynomials so the whole expression is quadratic. I have expressions I need to integrate, where foo(xi) and bar(xi) are higher-order polynomials terms of xi. -- 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/bfac9248-8d14-49f4-98ce-b934d279b310%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
