MathGroup Archive 1996

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

Search the Archive

Re: Graphing recurrences


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

Kinh,

try:

y[0]:=0;
y[t_]:=y[t-1]+1

ListPlot[Table[y[t],{t,1,10,1}]]


Regards,

Christian


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


  • Prev by Date: Re: Ticks
  • Next by Date: Re: Graphing recurrences
  • Previous by thread: Re: Graphing recurrences
  • Next by thread: Re: Graphing recurrences