Re: Plot a recurrence relation
- To: mathgroup at smc.vnet.net
- Subject: [mg40176] Re: Plot a recurrence relation
- From: Dr Bob <drbob at bigfoot.com>
- Date: Tue, 25 Mar 2003 03:03:33 -0500 (EST)
- References: <200303240928.EAA28657@smc.vnet.net>
- Reply-to: drbob at bigfoot.com
- Sender: owner-wri-mathgroup at wolfram.com
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
- References:
- Plot a recurrence relation
- From: "David" <davidol@hushmail.com>
- Plot a recurrence relation