Re: Difference /recurrence equations
- To: mathgroup at smc.vnet.net
- Subject: [mg35129] Re: Difference /recurrence equations
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 25 Jun 2002 19:55:01 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <af990o$8u$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
Needs["DiscreteMath`RSolve`"]
RSolve[{y[t + 2] - 2y[t + 1] + 3y[1] == 4}, y[t], t]
?
Regards
Jens
Andrew Biggs wrote:
>
> I'm new to Mathematica and am having trouble with inputting the
> equations I'm looking to solve. I know the basic input of RSolve, but
> can't quite get it. Here's a sample problem, if anyone could show me
> how to input into RSolve I can probably run with the ball after that.
>
> y(t+2) - 2Y(t+1) + 3Y(1) = 4
>
> With the part in brackets being a subscript denoting time. I know it
> sounds dumb, but I just don't know the input notatin well enough to
> get a problem typed in correctly, and the Mathematica book is a little
> overwhelming.
>
> Any help greatly appreciated!
>
> Andrew