MathGroup Archive 2005

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

Search the Archive

Re: defining a recursive formula?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54889] Re: [mg54869] defining a recursive formula?
  • From: DrBob <drbob at bigfoot.com>
  • Date: Sat, 5 Mar 2005 01:34:33 -0500 (EST)
  • References: <200503041008.FAA13143@smc.vnet.net>
  • Reply-to: drbob at bigfoot.com
  • Sender: owner-wri-mathgroup at wolfram.com

p[R_] := i*R - a
f[n_Integer] := Nest[p, R, 5]

f[5]
-a + i*(-a +
     i*(-a + i*(-a +
         i*(-a + i*R))))

Bobby

On Fri, 4 Mar 2005 05:08:04 -0500 (EST), lou zion <illuzioner at adelphia.net> wrote:

> can someone help me represent the following?
>
> i have a quantity p[R_] := i* R -a
>
> i need to compute
>
> F[N_]  := p[p[p[p[p[R]]]]]  to N levels deep.
>
> how can i do this? thanks!
>
> lou
>
>
>
>
>



-- 
DrBob at bigfoot.com
www.eclecticdreams.net


  • Prev by Date: Re: Help Mathematica
  • Next by Date: Re: defining a recursive formula?
  • Previous by thread: defining a recursive formula?
  • Next by thread: Re: defining a recursive formula?