Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*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 1998

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

Search the Archive

iterative function query



Can someone explain the best way to code:

starting at x=1 and going to x=5;
taxes[x_]:= 45 + 0.97(taxes[x+1])/; 

so that the following is generated:

45 + 0.97(45+0.97(45+0.97(45+0.97(45))))

Thanks,

Eric Walters
ewalters@bio.fsu.edu</HTML>

Can someone explain the best way to code:

starting at x=1 and going to x=5;
taxes[x_]:= 45 + 0.97(taxes[x+1])/; 

so that the following is generated:

45 + 0.97(45+0.97(45+0.97(45+0.97(45))))

Thanks,

Eric Walters
ewalters@bio.fsu.edu


  • Prev by Date: Re: List Manipulation
  • Next by Date: Importing formulas in Word with acceptable display & printing resolution
  • Prev by thread: mathematica V 2.2 win95
  • Next by thread: Re: iterative function query