On Feb 2, 2008 11:49 PM, Hector Villafuerte <[EMAIL PROTECTED]> wrote: > > Hi, > is there a way in SAGE to handle recurrences? Say, determine the > closed-form expression, or the limit as n goes to infinity, of > something like: > > r_0 = sqrt(a), where a>0 > r_n = sqrt(a + r_{n-1}) > > Now, experimenting with SAGE (and using some basic Calculus), I've > noticed that this recurrence converges to: 1/2 + 1/2*sqrt(1 + 4*a); > but I still wonder if there's a more SAGEist way to do this. > Thanks in advance,
Quick remark -- please see http://sagetrac.org/sage_trac/ticket/1291 where somebody asked a similar question and has some remarks about possible answers. William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---