Skip to content
Prev 448 / 696 Next

[R-sig-dyn-mod] iterative procedure vs deSolve

Thank you Daniel,

The analytical solution of the ODE is a system of two non-linear 
equations with two variables.
You say I can use those expressions and evaluate them at my time points 
with the parameter values and compare the result with the output from ode()
That's what I was trying to do in excel. The way I know of solving this 
is by using an iterative procedure. If there is another way I am missing 
I will be glad to know!

Since Crest is needed to calculate Cgills and Cgills is needed to 
calculate Crest, there is a "circular reference" there, that excel 
solves by performing a repeated recalculation of the worksheet cells 
containing the formulas until a specific numeric condition is met (until 
the change is minimal).

Cheers,

Paula