#11164: Integral of sin(x)/x gives false result.
-------------------------------------------------+-------------------------
Reporter: benreynwar | Owner: burcin
Type: defect | Status:
Priority: major | needs_info
Component: calculus | Milestone:
Keywords: | Resolution:
Authors: | Merged in:
Report Upstream: Reported upstream. No | Reviewers:
feedback yet. | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------------------+-------------------------
Changes (by kcrisman):
* upstream: Fixed upstream, in a later stable release. => Reported
upstream. No feedback yet.
Comment:
> > What if we don't allow incomplete gamma to become `Ei` when the first
arg is zero - would that solve the branch problem?
> Looks like if that was once possible, it isn't any more (already done
during integration in Maxima, I mean).
Or maybe not;
{{{
sage:
maxima('integrate(sin(x)/x,x)')-(%i*gamma_incomplete(0,%i*x)-%i*gamma_incomplete(0,-%i*x))/2
sage: maxima('integrate(sin(x)/x,x), gamma_expand:true')
-(%i*expintegral_ei(%i*x)-%i*expintegral_ei(-%i*x)+2*%pi)/2
}}}
so maybe we are already setting `gamma_expand:true` somewhere nowadays.
Reported upstream at https://sourceforge.net/p/maxima/bugs/2842/
--
Ticket URL: <http://trac.sagemath.org/ticket/11164#comment:15>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.