#15395: Wrong limit for squence involving Fibonacci sequence, 0 instead of 
golden
ratio
--------------------------------------+------------------------
       Reporter:  aginiewicz          |        Owner:
           Type:  defect              |       Status:  new
       Priority:  major               |    Milestone:  sage-6.4
      Component:  calculus            |   Resolution:
       Keywords:  limit,golden_ratio  |    Merged in:
        Authors:                      |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+------------------------

Comment (by aginiewicz):

 I don't know when it happened, but in 6.4.1 the limit works:

 {{{
 sage: limit(F1(k+1)/F1(k), k=oo)
 1/2*sqrt(5) + 1/2
 }}}

 but the comparison

 {{{
 sage: F1(k) = (golden_ratio^k-(value_1)^(k))/sqrt(5)
 sage: F2(k) = (golden_ratio^k-(value_2)^(k))/sqrt(5)
 sage: bool(F1(k) != F2(k))
 true
 }}}

 is still wrong. Slightly minified example:

 {{{
 sage: value_1 = 1-golden_ratio
 sage: value_2 = -golden_ratio^(-1)
 sage: bool(value_1 == value_2)
 True
 sage: bool(value_1^x != value_2^x)
 True
 }}}

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