MathGroup Archive 2002

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

Search the Archive

RE: Difference Equations

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33749] RE: [mg33737] Difference Equations
  • From: "Curt Fischer" <cfisher at bio.titech.ac.jp>
  • Date: Thu, 11 Apr 2002 02:14:02 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear Paulo:

......Original Message......
From: Paulo Moraes Ferreira [mailto:paulom at compos.com.br] 
To: mathgroup at smc.vnet.net
Subject: [mg33749] [mg33737] Difference Equations

How can i solve difference equations in mathematica.
I am doing a master in economics. Does anyone give some instructions
with
example.
......end original message......

Yes, Mathematica can indeed solve difference equations.  Look in the
help browser under DiscreteMath or RSolve.  There are many examples.

For example:

In[1]:=
<<DiscreteMath`RSolve`

In[2]:=
RSolve[{a[n+1]==n a[n],a[1]==1},a[n],n]

Out[2]=
{{a[n] -> (1+n)!}}

--
Curt Fischer
Tokyo Institute of Technology
Dept. of Bioengineering







  • Prev by Date: Re: How to Return from within a Table[]-Command?
  • Next by Date: RE: How to specify a parameter
  • Previous by thread: Re: Subscript[x, y] and the Symbol x
  • Next by thread: Problems with creating packages (formatting)