Which is a first order ODE for , which has a general solution of the form:
where is the second degree polynomial for which:
which gives:
,
and so:
But we also have the initial condition so:
So finaly we have:
or:
and so:
Now there is probably an error in there somewhere, but you should get the idea.
RonL