MathGroup Archive 2003

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

Search the Archive

Re: Plot a recurrence relation


For instance,

a[0] = 6;
a[n_] := a[n] = a[#]/(2# - 7) &@(n - 1)
ListPlot[a /@ Range[0, 8], PlotRange -> All,
           PlotJoined -> True, AxesOrigin -> {1, 0}]

Bobby

On Mon, 24 Mar 2003 04:28:22 -0500 (EST), David <davidol at hushmail.com> 
wrote:

> How can I get mathematica to plot a sequence that's defined recursively 
> e.g.
>
> a_0 = 6
> a_(n+1) = a_n / (2n - 7)
>
> Cheers.
>
>
>
>



-- 
majort at cox-internet.com
Bobby R. Treat



  • Prev by Date: Re: Another problem with ConstrainedMin
  • Next by Date: Re: Plot a recurrence relation
  • Previous by thread: Plot a recurrence relation
  • Next by thread: Re: Plot a recurrence relation