MathGroup Archive 2005

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

Search the Archive

defining a recursive function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54870] defining a recursive function
  • From: "lou zion" <illuzioner at adelphia.net>
  • Date: Fri, 4 Mar 2005 05:08:07 -0500 (EST)
  • Reply-to: "lou zion" <illuzioner at adelphia.net>
  • Sender: owner-wri-mathgroup at wolfram.com

hi,

i have a function

pr[R_] := R*(i+1) -a

and i need to define f as:

f[N_] := pr[pr[pr[pr[R]]]]     to N levels deep

how can i do this?

thanks!

lou






  • Prev by Date: Importing HTML tables
  • Next by Date: defining a recursive formula?
  • Previous by thread: Re: Importing HTML tables
  • Next by thread: Re: defining a recursive function