Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups "sympy" group.
> To post to this group, send email to sy...@googlegroups.com.
> To unsubscribe from this group, send email to sympy+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
>
By the way, this integral works in master:
In [70]: integrate(1/sqrt(1+x*x/(c*c)),x)
Out[70]:
⎛x⎞
c⋅asinh⎜─⎟
⎝c⎠
This is because of the new integration algorithm that was implemented
last summer using Meijer G-Functions. Unlike the Risch algorithm,
this is a heuristic, and works with a much broader class of functions
(also unlike Risch, the Meijer G algorithm works particularly well on
definite integrals). The power of the Risch algorithm over this one
is that it works on more complex functions, so long as they are within
the acceptable class, since it's an actual algorithm and not a
heuristic.
And yes, I should merge my branch already, even what you tried wasn't
really demonstrating the power of it. Play around with
risch_integrate() with functions with exp() and log(), and you'll see
it's power. integrate() in that branch is just the normal old
integrate() from 0.7.0 (which is less powerful than integrate in
master, but you can still see the difference if you compare there
too). Hopefully I'll have time this summer along with managing GSoC
and getting a 0.7.2 release out.
Aaron Meurer
On Thu, Mar 15, 2012 at 8:24 AM, john.hoebing <jlh...@gmail.com> wrote:
>
> You are completely correct. Its funny that the default Ubuntu sympy
> doesn't work; it runs on Ubuntu 12.04 beta and installs through the
> generic 'sudo apt-get install python-sympy', and as you can see above,
> its a 'SymPy 0.7.1.rc0' release. But I tried the master from github
> and it works just like you say, so I'll work with the master until the
> Ubuntu distro catches up.
The problem with the Ubuntu package is that it is quite far from
corresponding to the latest version. According to this page
https://github.com/sympy/sympy/tags , the version 0.7.1.rc1 was
released about 8 months ago.
Sergiu
I just checked, and this integral has not ever worked in master. It
didn't work in integration3 either. These things can depend on things
like assumptions or even architecture, though.
Aaron Meurer