[sympy] Bug with solve

2015-05-19 Thread Arnaud Usciati
Hello, I tried to find the roots of : 2*sqrt(x)*sqrt(x**3 - x**2 + 1) + 2*x**3 - x**2 + x*sqrt(x**3 - x**2 + 1) + 2*x**1.5 + 2*x**2.5*sqrt(x**3 - x**2 + 1) - 3*x**2.5 - 4*x**3.5*sqrt(x**3 - x**2 + 1) - 2*x**3.5 + 5*x**4.5 - 3*x**5.5 - 1 = 0. x = symbols('x', real=True) f = Lambda(x,

Re: [sympy] Bug with solve

2015-05-19 Thread Arnaud Usciati
Meurer On Tue, May 19, 2015 at 6:29 AM, Arnaud Usciati rai...@gmail.com javascript: wrote: Hello, I tried to find the roots of : 2*sqrt(x)*sqrt(x**3 - x**2 + 1) + 2*x**3 - x**2 + x*sqrt(x**3 - x**2 + 1) + 2*x**1.5 + 2*x**2.5*sqrt(x**3 - x**2 + 1) - 3*x**2.5 - 4*x**3.5*sqrt(x**3

Re: [sympy] Bug with solve

2015-05-19 Thread Arnaud Usciati
Right, I have sympy-0.7.6.win32. -- 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] Factor fails !

2015-04-11 Thread Arnaud Usciati
Hello, I found two issues with factor(). If x = symbols('x', real=True) f = Lambda(x, (-2*x + Abs(x))*Abs(x**2 - 1)) g = Lambda(x, diff(f(x), x)) Input : g(x) Ouput : 2*x*(-2*x + Abs(x))*sign(x**2 - 1) + (sign(x) - 2)*Abs(x**2 - 1) Input : factor(g(x)) Ouput : -4*x**2*sign(x**2 - 1) +

[sympy] Limit fails !

2015-04-11 Thread Arnaud Usciati
Hello, I found 2 issues with limit(). x = symbols(x, real=True) f = Lambda(x, (x+exp(x))/(x-1)) Input : limit(f(x), x, -oo, '+') Output : 0 -- Wrong Input : limit(expand(f(x)), x, -oo, '+') Output : 1 -- Correct g = Lambda(x, (ln(x)-1)**(1-sqrt(x))) Input : limit(g(x), x, E, '+') Ouput : 0 --

[sympy] Bug with inverse hyperbolic cosine 'acosh'

2015-03-31 Thread Arnaud Usciati
Hello everybody, I tried values with acosh function and I found an issue. Suppose x = symbols('x', real=True) and f = lambda x: acosh(-x). For instance : Input : f(1) Output : I*pi -- That's OK Input : f(-1) Output : 0 -- That's OK But f(x) returns -acosh(x) instead of acosh(-x) ! It's

[sympy] Wrong results for limits with sign() function

2015-02-15 Thread Arnaud Usciati
Hello, If x = symbols('x', real=True). I found wrong results for limits with sign() function. limit(sign(x), x, 0, '+') = 1, and limit(sign(x), x, 0, '-') = -1 --- OK But : - limit(sign(ln(x)), x, 1, '+') = 1 (OK) but limit(sign(ln(x)), x, 1, '-') = 0 instead of -1 ; - limit(sign(sin(x)), x,

[sympy] Functions hyperbolic

2015-02-13 Thread Arnaud Usciati
Hello, I propose to add the following hyperbolic functions in order to complete sympy. If f is a function : sech(f) = 1/cosh(f) csch(f) = 1/sinh(f) asech(f) = acosh(1/f) acsch(f) = asinh(1/f) -- You received this message because you are subscribed to the Google Groups sympy group. To

Re: [sympy] Re: Issue : limit(abs(log(x)),x,0,'+')

2015-02-12 Thread Arnaud Usciati
février 2015 12:27:23 UTC+1, Christophe Bal a écrit : Hello. Maybe, it could be useful to have a abssimplify method that will try to simplify abs expressions. Christophe BAL Le 11 févr. 2015 11:54, Arnaud Usciati rai...@gmail.com javascript: a écrit : Hi, I found another error

Re: [sympy] Re: Issue : limit(abs(log(x)),x,0,'+')

2015-02-11 Thread Arnaud Usciati
, Douglas Lohmann dloh...@gmail.com javascript: wrote: In my test it's not a bug. You can explain better? In [9]: limit(abs(log(x)), x, 0, '+') Out[9]: oo It was already reported the bug to the bug list? Em sábado, 31 de janeiro de 2015 13:33:40 UTC-2, Arnaud Usciati

Re: [sympy] solve for polynomial equation runs endless

2015-02-11 Thread Arnaud Usciati
30, 2015 at 7:27 AM, Arnaud Usciati rai...@gmail.com javascript: wrote: Hello, I try to find solutions for : 8.99*x*(-x + 1)**1.9 + 3.1*(-x + 1)**2.1 - 3.1*(-x + 1)**2.9 == 0 I use solve(8.99*x*(-x + 1)**1.9 + 3.1*(-x + 1)**2.1 - 3.1*(-x + 1)**2.9, x) but it runs endless Any ideas

[sympy] solve for polynomial equation runs endless

2015-01-31 Thread Arnaud Usciati
Hello, I try to find solutions for : 8.99*x*(-x + 1)**1.9 + 3.1*(-x + 1)**2.1 - 3.1*(-x + 1)**2.9 == 0 I use solve(8.99*x*(-x + 1)**1.9 + 3.1*(-x + 1)**2.1 - 3.1*(-x + 1)**2.9, x) but it runs endless Any ideas to fix it ? PS : sorry for my english, i'm french :) -- You received this

[sympy] Issue : limit(abs(log(x)),x,0,'+')

2015-01-31 Thread Arnaud Usciati
Hello, limit(abs(log(x)), x, 0, '+') should return +oo, but it returns -oo*sign(log(_w)) !!! -- 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