The function I have used is fine for getting the output, but I am not able to capture the list, I have tried all kids of ideas, but now I need help from someone more skilled than I.
I set the variables first.
t = 500; d = 200;[Alpha] = 0.5;[Beta] = 0.4;[Gamma] = 0.1;[Delta] = 0.17;
Do[Print[{t = ((1 - [Alpha])*t) + ([Beta]*d),
d = (-[Delta]*t) + (1 + [Gamma])*d}], {10}];
The above lets me print the output on the screen, please help me to capture this output so I can plot.
I am looking at the Prey-predator model.
just to make sure, that it is what you want to do. You see, if you want to create a list, there is a much easier way to do that. In the code above there are three functions Do, Sow, and Reap. This is because I understood that you want to use a Do loop. You can of course also do this:
Just something I learned about using the initial expressions, the second expression is updated by the first inside the table, so if you read this and are looking at the Linear Prey-Predator model don’t copy the set of expressions that I used. Mine go ahead of themselves compared to the books.