#17608: Allow use of principal value of integral if it's right
------------------------+----------------------------
Reporter: kcrisman | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.5
Component: calculus | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
------------------------+----------------------------
{{{
(%i1) integral(sec(x), x, -%pi/4, %pi/4);
%pi %pi
(%o1) integral(sec(x), x, - ---, ---)
4 4
(%i2) integrate(sec(x), x, -%pi/4, %pi/4);
Principal Value
sqrt(2) + 2 sqrt(2) - 2
(%o2) log(-----------) - log(- -----------)
2 2
}}}
but Sage has
{{{
sage: integral(sec(x), x, -pi/4, pi/4)
ValueError: Integral is divergent
}}}
because of the PV. See also #13511.
--
Ticket URL: <http://trac.sagemath.org/ticket/17608>
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.