Re: defining a recursive formula?
- To: mathgroup at smc.vnet.net
- Subject: [mg54884] Re: defining a recursive formula?
- From: Curt Fischer <tentrillion at gmail.NOSPAM.com>
- Date: Sat, 5 Mar 2005 01:34:29 -0500 (EST)
- References: <d09dnj$d80$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
lou zion 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 In[1]:= p[R_] := i*R - a In[2]:= Nest[p, R, 5] Out[2]= -a + i*(-a + i*(-a + i*(-a + i*(-a + i*R)))) -- Curt Fischer