Re: difference equation

*To*: mathgroup at smc.vnet.net*Subject*: [mg24348] Re: difference equation*From*: "Seth Chandler" <SChandler at uh.edu>*Date*: Sun, 9 Jul 2000 04:52:52 -0400 (EDT)*Organization*: University of Houston*References*: <8k3l8a$3af@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

You need to load the package DiscreteMath`RSolve. You can then use the command RSolve, which looks a lot like DSolve (for differential equations). Then try: RSolve[y[t] == a + b y[t - 1] + y[t - 2], y[t], t] "Wilfried Stock" <stock at wirtschaft.uni-kassel.de> wrote in message news:8k3l8a$3af at smc.vnet.net... > > Hi > I would like to built a difference equatition like: > Yt=A+b*Yt-1-c*Yt-2 > with Y=f(X) > I don't find an easy solution. > Can anyone provide a solution? > > > Thanks in advance, > Wilfried >