Dominik Heinzmann <dominik.heinzmann at math.unizh.ch> writes:
> Dear R-community
>
> My ODE problems looks as follows:
> (1) dA/dt = u*A - v*B
> (2) dB/dt = v*B - u*A
>
> where u is a constant, and v=k*t (k=constant, t=time)
>
> Does anybody knows a good function/procedure of solving? Should one
> involve the equation (3) dv/dt = k?
> Thanks for your support.
You probably need to look into the odesolve package. The v*B terms
make it nonlinear, so I wouldn't expect an analytic solution.
--
O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B
c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907