MathGroup Archive 2008

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

Search the Archive

Graphing Difference Equation


Dear Group.

I have a trouble in graphing differece equation using mathematica.

For instance, I get a difference equation,

y_{t} = 1.5y_{t-1} - .5y_{t-2} = 0

Since I don't know how to input the code for graphics and just want

to check how the graph looks like,

I input the solution instead, A(-1.2)^t + B(.5)^t where A and B

constants

For simplicity, I choose A = B = 1.

Plot[(-1.2)^t + (.5)^t,{t,0,20}]

The problem is that it doesn't work at all.

If anyone who know exact way to graph difference equation, plz

tell me.

Thanks in advance.


  • Prev by Date: Re: NDSolve[] with nested If[] and Piecewise[] usage:
  • Next by Date: reconstruction of 3D grid with connectivity
  • Previous by thread: Re: Re: NDSolve[] with nested If[] and Piecewise[] usage:
  • Next by thread: Re: Graphing Difference Equation