MathGroup Archive 1996

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

Search the Archive

Re: Graphing recurrences

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3264] Re: [mg3223] Graphing recurrences
  • From: Robert Pratt <rpratt at math.unc.edu>
  • Date: Wed, 21 Feb 1996 02:16:43 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

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