*To*: mathgroup@smc.vnet.net*Subject*: [mg10579] iterative function query*From*: Eric Walters <ewalters@bio.fsu.edu>*Date*: Tue, 20 Jan 1998 16:54:19 -0500

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

**Follow-Ups**:**Re: iterative function query***From:*Levasseur <levasseu@bit-net.com>