I'm wondering how I can solve a system of ODE that has a interpolating function? For example, z and y are InterpolatingFunctions generated by prior NDSolve commands. Now I need to solve a second ODE system:
{x2'[t] == -k1*x2[t]*y[t]/h2[t] + k2*z[t],
h2'[t] == -3*(-k1*x2[t]*y[t]/h2[t] + k2*z[t]),
x2[0] == 0, h2[0] == 1}
where k1 and k2 are constants.


x, namelyx[0]==.001, yet there's nox[t]in your system. Also, concrete explanations as to wherey,z,k1, andk2arise would be nice. As for the second question - is that well formed mathematically? For example, $f(t)=c e^{-t}$ solves $f'=-f$ and $\lim_{t\rightarrow\infty}f(t)=0$ for all $c$. – Mark McClure Nov 7 '12 at 22:01