On Thu, Feb 26, 2009 at 12:27:54PM -0800, Ondrej Certik wrote:
> On Thu, Feb 26, 2009 at 12:11 PM, Priit Laes wrote:
> > Patch here: http://plaes.org/files/2009-Q1/sympy-fix-asin-integral.patch
> >
> > Previously sympy failed to integrate things like this:
> >
> > In [3]: integrate(1/sqrt(9 + 4*x*
On Thu, Feb 26, 2009 at 12:11 PM, Priit Laes wrote:
> Patch here: http://plaes.org/files/2009-Q1/sympy-fix-asin-integral.patch
>
> Previously sympy failed to integrate things like this:
>
> In [3]: integrate(1/sqrt(9 + 4*x**2), x)
> Out[3]:
> ⌠
> ⎮ 1
> ⎮ ─ dx
> ⎮ ⎽⎽
>
Patch here: http://plaes.org/files/2009-Q1/sympy-fix-asin-integral.patch
Previously sympy failed to integrate things like this:
In [3]: integrate(1/sqrt(9 + 4*x**2), x)
Out[3]:
⌠
⎮ 1
⎮ ─ dx
⎮⎽⎽
⎮ ╱2
⎮ ╲╱ 9 + 4⋅x
⌡
With patch applied:
In [1]: integrate(1/
Nice patch, +1 thanks!
Ondrej
On Thu, Feb 26, 2009 at 9:28 AM, Mateusz Paprocki wrote:
>
> In [1]: var('zr zc')
> Out[1]: (zr, zc)
>
> In [2]: zup, zlow = zr, 1/(1/zc + 1/(zc+zr))
>
> In [3]: zc/(zc+zr) * zlow/(zlow+zup)
> Out[3]:
> zc
> ──
In [1]: var('zr zc')
Out[1]: (zr, zc)
In [2]: zup, zlow = zr, 1/(1/zc + 1/(zc+zr))
In [3]: zc/(zc+zr) * zlow/(zlow+zup)
Out[3]:
zc
⎛1 1 ⎞ ⎛ 1 ⎞
(zc + zr)⋅⎜── + ───⎟⋅⎜zr + ⎟