On Saturday, 18 July 2015 08:31:07 UTC+1, Dima Pasechnik wrote:
>
>
>
> On Saturday, 18 July 2015 08:15:39 UTC+1, Ralf Stephan wrote:
>>
>> On Friday, July 17, 2015 at 11:01:52 AM UTC+2, Johannes Lippmann wrote:
>>>
>>> What should I do now?
>>>
>>
>> If the (default) Maxima subroutine does not satisfy, always try SymPy:
>>
>> sage: integrate(x/(x^2+1),(x,0,infinity),algorithm='sympy')
>> +Infinity
>>
>> Maxima when started without Sage says:
>>
>> (%i1) integrate(x/(x^2+1),x,0,+inf);
>> defint: integral is divergent.
>>
>> so you found an error in Sage's interface to Maxima.
>>
> no, the bug is in the Maxima's version currently bundled with Sage (or in 
> its combination with the Lisp compiler ECL).
>
> $ sage --maxima
> ;;; Loading #P"/home/dima/software/sage/local/lib/ecl/sb-bsd-sockets.fas"
> ;;; Loading #P"/home/dima/software/sage/local/lib/ecl/sockets.fas"
> ;;; Loading #P"/home/dima/software/sage/local/lib/ecl/defsystem.fas"
> ;;; Loading #P"/home/dima/software/sage/local/lib/ecl/cmp.fas"
> Maxima 5.35.1 http://maxima.sourceforge.net
> using Lisp ECL 13.5.1
> Distributed under the GNU Public License. See the file COPYING.
> Dedicated to the memory of William Schelter.
> The function bug_report() provides bug reporting information.
> (%i1) integrate(x/(x^2+1),x,0,+inf);
> (%o1)                                  0
> (%i2) 
>
> we should upgrade ECL and/or Maxima:

$ maxima
;;; Loading #P"/home/dima/lib/ecl-15.3.7/sb-bsd-sockets.fas"
;;; Loading #P"/home/dima/lib/ecl-15.3.7/sockets.fas"
;;; Loading #P"/home/dima/lib/ecl-15.3.7/defsystem.fas"
;;; Loading #P"/home/dima/lib/ecl-15.3.7/cmp.fas"
Maxima branch_5_36_base_137_gdd4f836_dirty http://maxima.sourceforge.net
using Lisp ECL 15.3.7
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) integrate(x/(x^2+1),x,0,+inf);

defint: integral is divergent.
 -- an error. To debug this try: debugmode(true);
(%i2) 
 

>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to