MathGroup Archive 1996

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

Search the Archive

Re: Graphing recurrences

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3315] Re: [mg3223] Graphing recurrences
  • From: Christian Bennefeld <bennefeld at dkrz.d400.de>
  • Date: Mon, 26 Feb 1996 02:55:06 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

>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