| 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: , |
|