GithubHelp home page GithubHelp logo

Comments (5)

certik avatar certik commented on May 18, 2024
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.

certik avatar certik commented on May 18, 2024
**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.

certik avatar certik commented on May 18, 2024
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.

certik avatar certik commented on May 18, 2024
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.

certik avatar certik commented on May 18, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.