I've got the following result from evaluating a DSolve problem:
input[] = diffEq = Derivative[1][r][t] == (2*(c + A*t)*(1 + z))/(2 + z);
initialConditions = r[0] == 0;
solution = DSolve[{diffEq, initialConditions}, r, t]
output[] = {{r -> Function[{t}, ((2*c*t + A*t^2)*(1 + z))/(2 + z)]}}
How do I use the output of this, which should be a some function r[t] in an integral like this:
input[] = Integrate[r[t], {t, t1, t0}]
I can't seem to tease the output of the DSolve into a function that can be used in the integral.
R[t]==r'[t]
$\endgroup$