On 2013-01-18, Georgi Guninski <[email protected]> wrote:
> n=var('n')
> a=log(-1/3125*((-1/2*sqrt(5) + 1/2)^n - (1/2*sqrt(5) + 
> 1/2)^n)^9*sqrt(5))/log(-1/5*((-1/2*sqrt(5) + 1/2)^(8*n) - (1/2*sqrt(5) + 
> 1/2)^(8*n))*((-1/2*sqrt(5) + 1/2)^n - (1/2*sqrt(5) + 1/2)^n) - 
> 1/5*((-1/2*sqrt(5) + 1/2)^(9*n) - (1/2*sqrt(5) + 1/2)^(9*n))*sqrt(5))
> limit(a,n=oo)
>
> many
> ;;; Stack overflow.
> ;;; Jumping to the outermost toplevel prompt
> ;;;
> Segmentation fault      sage-ipython "$@" -i
>
> sagenb.org doesn't return anything for the limit
>
> sage 5.5 binary download on ubuntu 10.04
>
this is a Maxima bug.
Here is a run with their stable release:

Maxima 5.28.0 http://maxima.sourceforge.net
using Lisp SBCL 1.0.55.0-abb03f9
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) a=log(-1/3125*((-1/2*sqrt(5) + 1/2)^n - (1/2*sqrt(5) +
1/2)^n)^9*sqrt(5))/log(-1/5*((-1/2*sqrt(5) + 1/2)^(8*n) - (1/2*sqrt(5) +
1/2)^(8*n))*((-1/2*sqrt(5) + 1/2)^n - (1/2*sqrt(5) + 1/2)^n) -
1/5*((-1/2*sqrt(5) + 1/2)^(9*n) - (1/2*sqrt(5) + 1/2)^(9*n))*sqrt(5));   
                  1   sqrt(5) n    sqrt(5)   1 n 9
                ((- - -------)  - (------- + -) )
                  2      2            2      2
(%o1) a = log(- ----------------------------------)
                                9/2
                               5
        1   sqrt(5) 9 n    sqrt(5)   1 9 n
       (- - -------)    - (------- + -)
        2      2              2      2
/log(- -----------------------------------
                     sqrt(5)
     1   sqrt(5) n    sqrt(5)   1 n    1   sqrt(5) 8 n    sqrt(5)   1 8
n
   ((- - -------)  - (------- + -) ) ((- - -------)    - (------- + -)
)
     2      2            2      2      2      2              2      2
 - -----------------------------------------------------------------------)
                                      5
(%i2) limit(a,n,inf);
(%o2)                                  a
(%i3) limit(log(-1/3125*((-1/2*sqrt(5) + 1/2)^n - (1/2*sqrt(5) +
1/2)^n)^9*sqrt(5))/log(-1/5*((-1/2*sqrt(5) + 1/2)^(8*n) - (1/2*sqrt(5) +
1/2)^(8*n))*((-1/2*sqrt(5) + 1/2)^n - (1/2*sqrt(5) + 1/2)^n) -
1/5*((-1/2*sqrt(5) + 1/2)^(9*n) - (1/2*sqrt(5) +
1/2)^(9*n))*sqrt(5)),n,inf);
INFO: Binding stack guard page unprotected
Binding stack guard page temporarily disabled: proceed with caution

Maxima encountered a Lisp error:

 Binding stack exhausted.

PROCEED WITH CAUTION.

Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.
INFO: Binding stack guard page reprotected
(%i4) 


-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to