Comments (5)
See also Rational.**pow**(), if we change it to raise pole_error on 0**0, then lot's
of limits fail. It doesn't have to be wrong behavior, but it smells.
Original comment: http://code.google.com/p/sympy/issues/detail?id=10#c1
Original author: https://code.google.com/u/104039945248245758823/
from sympy.
**Labels:** Milestone-Release1.0
Original comment: http://code.google.com/p/sympy/issues/detail?id=10#c2
Original author: https://code.google.com/u/104039945248245758823/
from sympy.
Particularly, I know about these:
1) assert s.limitinf((3**x-5**x)**(1/x),x)==5
returns 1+log(5)
2) assert limit((sin(2_x)/x)_*(1+x),x,0) == 2
returns 1+log(2)
3) assert limitinf(sin(x)/x,x) == 0
returns 1
4) assert limit(x*sin(1/x),x,0) == 0
returns 1
1) and 2) are probably caused by the same problem, shouldn't be much difficult to fix. 3) and 4) should either raise exception that it cannot calculate that, or do it correctly.
Original comment: http://code.google.com/p/sympy/issues/detail?id=10#c3
Original author: https://code.google.com/u/104039945248245758823/
from sympy.
I fixed 1) and 2) (the correct form of 1 is of course 5**x-3**x)
The problem was in sympy.core, in the series expansion. I fixed it to work with these two limits, but there is still a bug, see the issue 3127 .
Referenced issues: #3127
Original comment: http://code.google.com/p/sympy/issues/detail?id=10#c4
Original author: https://code.google.com/u/104039945248245758823/
from sympy.
3) and 4) are fixed in the svn now. Closing the issue.
**Status:** Fixed
Original comment: http://code.google.com/p/sympy/issues/detail?id=10#c5
Original author: https://code.google.com/u/104039945248245758823/
from sympy.
Related Issues (20)
- factor produces wrong output HOT 16
- TypeError: '>' not supported between instances of 'Poly' and 'int' calling integrate in sympy 1.12 HOT 1
- lots of PolynomialError contains an element of the set of generators exceptions calling integrate in sympy 1.12 HOT 1
- TypeError: Invalid NaN comparison calling integrate in sympy 1.12 HOT 1
- IndexError: Index out of range: calling integrate in sympy 1.12 HOT 1
- AttributeError: 'NoneType' object has no attribute 'primitive' calling integrate in sympy 1.12 HOT 4
- RecursionError: maximum recursion depth exceeded in comparison calling integrate in sympy 1.12
- TypeError: Invalid comparison of non-real zoo calling integrate in sympy 1.12
- TypeError: Invalid comparison of non-real -I calling integrate in sympy 1.12
- CoercionFailed: Cannot convert type <class 'sympy.core.add.Add'> to QQ_I calling integrate in sympy 1.12
- TypeError: cannot determine truth value of Relational calling integrate in sympy 1.12
- Sympy Live not working HOT 3
- Integral representation of Riemann Zeta Function
- Wrong limit result for Abs((-n/(n+1))**n) HOT 1
- inverse_laplace_transform produces incorrect result (compared to WolframAlpha) HOT 4
- TypeError on `function_range` of Abs(((log(x))**Rational(1, 3))) HOT 5
- S(0)==False->True (should be False) HOT 5
- Wrong result for digamma integral representation HOT 16
- hyperexpand bad output called on I*meijerg(((1, x + 2), ()), ((x + S(1)/2,), (0,)), z*exp_polar(I*pi))*exp(-I*pi*x)/(2*sqrt(pi)) HOT 7
- 1x1 MatrixSymbol should be treated as a scalar HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sympy.