MathGroup Archive 2005

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

Search the Archive

defining a recursive function


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