#10914: Integration involving abs gives wrong result
--------------------------------------------------------------+-------------
       Reporter:  poeschko                                    |         Owner:  
burcin             
           Type:  defect                                      |        Status:  
positive_review    
       Priority:  major                                       |     Milestone:  
                   
      Component:  calculus                                    |    Resolution:  
                   
       Keywords:                                              |   Work issues:  
                   
Report Upstream:  Fixed upstream, in a later stable release.  |     Reviewers:  
Karl-Dieter Crisman
        Authors:  Michael Orlitzky                            |     Merged in:  
                   
   Dependencies:                                              |      Stopgaps:  
                   
--------------------------------------------------------------+-------------

Old description:

> Running
>
> {{{
> sage: integrate(abs(sin(x)),(x,0,2*pi))
> }}}
> gives 0, but the correct result is 4.
>
> This happens in version 4.6.1 . In 4.5.3, the integral was not evaluated
> at all.

New description:

 Running

 {{{
 sage: integrate(abs(sin(x)),(x,0,2*pi))
 }}}
 gives 0, but the correct result is 4.

 This happens in version 4.6.1 . In 4.5.3, the integral was not evaluated
 at all.

 Apply [attachment:trac_10914.patch].

--

Comment (by kcrisman):

 Apply [attachment:trac_10914.patch].

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

Reply via email to