MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Simple Recursive Map


On Thursday, July 11, 2002, at 04:24 AM, Reuben wrote:

> I have the map
>
> x_n+1=y_n-a*(x_n)^2 - 1
> y_n+1=b*x_n
>
> If I specify a,b, x_0 and y_0, how can I make Mathematica iterate
> through this numerically to give me x_50 and y_50?
>
> Thanks
> Reuben

I think this is what you want.

x[n_] := y[n - 1] - a*x[n - 1]^2 - 1
y[n_] := b*x[n - 1]
{a, b, x[0], y[0]} = {1, 1, 1, 1};

The first few results are

Table[{x[k], y[k]}, {k, 7}]

{{-1, 1}, {-1, -1}, {-3, -1}, {-11, -3}, {-125, -11},
   {-15637, -125}, {-244515895, -15637}}

============
   Hugh Walker
    Gnarly Oaks



  • Prev by Date: RE: Simple Recursive Map
  • Next by Date: Re: Simple Recursive Map
  • Previous by thread: RE: Simple Recursive Map
  • Next by thread: Re: Simple Recursive Map