Issue 1426 in sympy: failing integral

2009-05-20 Thread codesite-noreply
Status: Accepted Owner: Labels: Type-Defect Priority-Medium Integration New issue 1426 by Vinzent.Steinberg: failing integral http://code.google.com/p/sympy/issues/detail?id=1426 e=(x**m * (1 - x)**n * (a + b*x + c*x**2))/(1 + x**2) e x**m*(1 - x)**n*(a + b*x + c*x**2)/(1 + x**2)

Issue 1385 in sympy: Integral.midpoint() implemented

2009-05-20 Thread codesite-noreply
Comment #6 on issue 1385 by Vinzent.Steinberg: Integral.midpoint() implemented http://code.google.com/p/sympy/issues/detail?id=1385 So maybe rather middle_sum(). How about calling it riemann_sum() I'd prefer the first, I did not know that it's also Riemann sum. Maybe you could even omit

Issue 1427 in sympy: subs for sqrt(a/b) is wrong

2009-05-20 Thread codesite-noreply
Status: Accepted Owner: Labels: Type-Defect Priority-High Milestone-Release0.6.5 WrongResult New issue 1427 by ondrej.certik: subs for sqrt(a/b) is wrong http://code.google.com/p/sympy/issues/detail?id=1427 In [4]: var(a b) Out[4]: (a, b) In [5]: e = sqrt(a/b) In [6]: e Out[6]:

Issue 1427 in sympy: subs for sqrt(a/b) is wrong

2009-05-20 Thread codesite-noreply
Comment #1 on issue 1427 by tetaberta: subs for sqrt(a/b) is wrong http://code.google.com/p/sympy/issues/detail?id=1427 As Sebastian pointed out, the problem is in expanding the sqrt() In[8]:sympy.sqrt(a*b) Out[8]: a**(1/2)*b**(1/2) this has already been reported in issue #896 -- You received

Issue 1385 in sympy: Integral.midpoint() implemented

2009-05-20 Thread codesite-noreply
Updates: Status: Started Comment #8 on issue 1385 by Vinzent.Steinberg: Integral.midpoint() implemented http://code.google.com/p/sympy/issues/detail?id=1385 Correct me if I'm wrong, but I think rectangle rule is an approximation using piecewise constant functions, trapez rule is an

Issue 1385 in sympy: Integral.midpoint() implemented

2009-05-20 Thread codesite-noreply
Comment #9 on issue 1385 by ondrej.certik: Integral.midpoint() implemented http://code.google.com/p/sympy/issues/detail?id=1385 Ok, that sounds reasonable. So we can call it approximation, and the method will be on of those (when all of them are implemented): upper, lower, left, right,

Issue 1317 in sympy: Wild/match does not discard x correctly

2009-05-20 Thread codesite-noreply
Updates: Status: Fixed Comment #1 on issue 1317 by asmeurer: Wild/match does not discard x correctly http://code.google.com/p/sympy/issues/detail?id=1317 You forgot to put in what eq is. I am guessing from the match that it is f(x).diff(x,x)+diff(f(x),x)/x+f(x), in which case, the

[sympy] Re: Substitution order

2009-05-20 Thread Pablo W.
suprising things indeed ! I get the same behavior with any rational power so the same rule seem to be used with any kind of exponent. Pablo On 20 mai, 14:15, Sebastian basti...@gmail.com wrote: The problem seems to be the following: In[8]:sympy.sqrt(a*b) Out[8]: a**(1/2)*b**(1/2) With the

[sympy] trigsimp

2009-05-20 Thread Luke
Last night I was deriving the moment of inertia for a solid torus using Sympy. It mostly worked, except for the step where the determinant of the Jacobian for the change of variables mapping was to be computed, the result was unable to be simplified by trigsimp. I gave it a shot anyway, and it

[sympy] Re: trigsimp

2009-05-20 Thread Alan Bromborsky
Luke wrote: Last night I was deriving the moment of inertia for a solid torus using Sympy. It mostly worked, except for the step where the determinant of the Jacobian for the change of variables mapping was to be computed, the result was unable to be simplified by trigsimp. I gave it a

[sympy] Re: trigsimp

2009-05-20 Thread Ondrej Certik
On Wed, May 20, 2009 at 7:29 AM, Luke hazelnu...@gmail.com wrote: Last  night I was deriving the moment of inertia for a solid torus using Sympy.  It mostly worked, except for the step where the determinant of the Jacobian for the change of variables mapping was to be computed, the result

[sympy] Re: Substitution order

2009-05-20 Thread Robert Kern
On Wed, May 20, 2009 at 13:55, Ondrej Certik ond...@certik.cz wrote: Hi Pablo! On Wed, May 20, 2009 at 4:40 AM, Pablo W. pablo.win...@gmail.com wrote: Hello, I have been using sympy a lot recently (economical modelling) and (while it's a great software) I found a strange behavior when

[sympy] Re: names for bessel_J and spherical_bessel_J

2009-05-20 Thread Vinzent Steinberg
On 16 Mai, 23:33, Fredrik Johansson fredrik.johans...@gmail.com wrote: On Sat, May 16, 2009 at 1:29 PM, Ondrej Certik ond...@certik.cz wrote: On Sat, May 16, 2009 at 1:00 PM, Aaron S. Meurer asmeu...@gmail.com wrote: Maple also uses BesselJ, and I couldn't find a spherical function in

[sympy] Re: Simple question

2009-05-20 Thread Priit Laes
Ühel kenal päeval, K, 2009-05-20 kell 19:21, kirjutas Robert Kern: On Wed, May 20, 2009 at 19:08, Luke hazelnu...@gmail.com wrote: How can I most quickly determine the filename and path that a specific sympy function lives in? For example, if I from sympy import trigsimp With any

[sympy] How do I test a function without putting it in __init__.py?

2009-05-20 Thread Aaron S. Meurer
I wrote a function for dsolve that is very complex and should be well tested, but it is also very specialized (making it more modular would require much more work), so I don't necessarily want it showing up in isympy. Is there a way to access the function from the test without putting it