Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Iteration' topicStudent Support Forum > General > Archives > "Iteration"

Next Comment >Help | Reply To Topic
Author Comment/Response
Paul
09/03/04 1:07pm

I am having great difficulty with figuring out how to do an iteration.
This was very simple in Mathcad. Anyway say I have two initial
values
No=100
Fo=1000

and they are related by the following functions (I've simplified what
I am really looking for just for this case and everything lowercase is
subscript)

Nj=N*(1-F)
Fj=F*(1+N)

So I want to iterate from j=0....500... plugging in the initial values
getting new values for F and N then plugging them back into the
equations 500 time and then graphing my results for Nj & Fj with
respect to the number of iterations.
in mathcad I do something like
j=0...500
Nj+1=Nj*(1-Fj)

thats it, very easy. How would Mathematica handle this. I've looked into Do loops but they dont seem to do the trick.

URL: ,

Subject (listing for 'Iteration')
Author Date Posted
Iteration Paul 09/03/04 1:07pm
Re: Iteration Forum Modera... 09/08/04 12:58pm
Re: Iteration Paul Stysley 09/09/04 1:59pm
Re: Iteration Henry Lamb 09/13/04 02:40am
Re: Iteration Paul Stysley 09/13/04 3:04pm
Re: Iteration Henry Lamb 09/16/04 02:11am
Re: Iteration Paul 09/20/04 2:11pm
Re: Iteration paul 09/20/04 2:20pm
Re: Iteration Forum Modera... 09/20/04 4:11pm
Re: Iteration Paul 09/21/04 09:59am
Next Comment >Help | Reply To Topic