Hey Folks,
I have a question regarding the usage of NDSolve/ParametricNDSolve in an iteration. Probably I just struggle with the right formating of the code, but here is a simple idea of what I want to do:
In the first step, I want to solve a differential equation N'[t] with NDSolve which looks like this: (1)
d/dt N[t] = a* I[t]^6
(this is no problem at all and easily feasible) but then I want to use the result in the next step to modify I[t] and use it to solve the differential equation again: (2)
d/dt N[t] = a* (I[t] - b*N[t] (previous result) )^6.
and so on...
So my question is how to use it in an as simple as possible iteration without recursion to take place.
Maybe you guys could give me a simple example of how to properly use NDSolve in an iteration.
Thanks in advance!
Thomas