Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Replace in recursive equations

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54389] Re: [mg54371] Replace in recursive equations
  • From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
  • Date: Sun, 20 Feb 2005 00:07:48 -0500 (EST)
  • References: <200502190732.CAA06119@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On 19 Feb 2005, at 08:32, Skirmantas wrote:

> The last sentence of my previous message about Inverse got somehow
> scrambled. I meant "I have to re-input the output to get the result."
>
> One more quick question. Suppose I have a recursive equation F[n+1]==a
> F[n]. I want to replace F[n]->FF[n]+Q for _all_ n's. Q is a constant.
> What is the best way to do it? The left side should become FF[n+1]+Q
> and the right a(FF[n]+Q). Any help would be appreciated.
>
>
>


F[n + 1] == a*F[n] /. F[x_] -> FF[x] + Q


Q + FF[n + 1] == a*(Q + FF[n])


Andrzej Kozlowski
Chiba, Japan
http://www.akikoz.net/andrzej/index.html
http://www.mimuw.edu.pl/~akoz/


  • Prev by Date: Re: How do I get a DSolve'd function
  • Next by Date: RE: computing cumulative sum for list
  • Previous by thread: Replace in recursive equations
  • Next by thread: Re: Replace in recursive equations