5
You want a numerical solution, but this might help you check your computed results.
If $a$ satisfies the ODE, you know $e^{a(t)}a'(t) = f(t)$. Integrating you get
\begin{align}
\int_0^t\, f(\tau)\, d\tau &= \int_0^t e^{a(\tau)}a'(\tau)\, d\tau \\
&= \int_{a(0)}^{a(t)} e^a da \\
&= e^{a(t)} - e^{a(0)}.
\end{align}
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
numerics × 897finite-difference × 119
pde × 110
finite-element × 78
ode × 78
linear-algebra × 68
python × 63
fluid-dynamics × 57
matlab × 56
integration × 49
stability × 48
computational-physics × 44
optimization × 43
numerical-modelling × 39
boundary-conditions × 36
runge-kutta × 35
algorithms × 32
differential-equations × 32
finite-volume × 30
discretization × 30
matrix × 27
convergence × 27
iterative-method × 26
error-estimation × 26
floating-point × 26