#11591: Incorrect results for integrals involving exponential functions
------------------------+---------------------------------------------------
Reporter: mjo | Owner: burcin
Type: defect | Status: new
Priority: major | Milestone:
Component: calculus | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------+---------------------------------------------------
Posted to sage-support by Robin Hankin,
http://groups.google.com/group/sage-
support/browse_thread/thread/1209ff5cb106d99c
Actual result:
{{{
sage: f = (x^2)*exp(x) / (1+exp(x))^2
sage: integrate(f, (x, -infinity, infinity))
0
}}}
Expected result:
{{{
sage: from mpmath import *
sage: mp.pretty=True
sage: quad(lambda x:(x^2)*exp(x)/(1+exp(x))^2,[-inf,+inf])
3.28986813369645
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11591>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.