MathGroup Archive 1996

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

Search the Archive

Re: Graphing recurrences


Try

y[0]:=0
y[t_]:=y[t-1]+1
ListPlot[Table[y[t],{t,1,10}]]

Alternatively,

ListPlot[Table[y[t],{t,1,10}], PlotJoined->True]

Rob Pratt
Department of Mathematics
The University of North Carolina at Chapel Hill
CB# 3250, 331 Phillips Hall
Chapel Hill, NC  27599-3250

rpratt at math.unc.edu

On Mon, 19 Feb 1996, Kinh H. Tieu wrote:

> How do I plot recurrences?  For example y(t)=y(t-1)+1, y(0)=0, 1 <= t <= 10.
> 
> -Kinh
> 
> 

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: SetOptions & Show
  • Next by Date: Re: Graphing recurrences
  • Previous by thread: Graphing recurrences
  • Next by thread: Re: Graphing recurrences