#16643: integrate() problem
-------------------------------------+-------------------------------------
       Reporter:  rws                |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-
      Component:  symbolics          |  duplicate/invalid/wontfix
       Keywords:  integration,       |   Resolution:
  maxima                             |    Merged in:
        Authors:                     |    Reviewers:  Peter Bruin
Report Upstream:  Fixed upstream,    |  Work issues:
  but not in a stable release.       |       Commit:
         Branch:                     |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by rws):

 SymPy is much faster to concede defeat.
 {{{
 sage: f=(tan(x)^2 + 1)*(x + tan(x))*e^tan(x) + (tan(x)^2 + 2)*e^tan(x)
 sage: %time integrate(f,x)
 CPU times: user 5min 45s, sys: 219 ms, total: 5min 45s
 Wall time: 5min 45s
 integrate((tan(x)^2 + 1)*(x + tan(x))*e^tan(x) + (tan(x)^2 + 2)*e^tan(x),
 x)
 sage: import sympy
 sage: x = sympy.Symbol('x')
 sage: %time sympy.integrate(f,x)
 CPU times: user 9.51 s, sys: 36 ms, total: 9.54 s
 Wall time: 9.52 s
 Integral((x + tan(x))*(tan(x)**2 + 1)*exp(tan(x)) + (tan(x)**2 +
 2)*exp(tan(x)), x)
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/16643#comment:12>
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.

Reply via email to