Questions tagged [ode]

Ordinary Differential Equations (ODEs) contain functions of only one independent variable, and one or more of their derivatives with respect to that variable. This tag is intended for questions on modeling phenomena with ODEs, solving ODEs, and other related aspects.

440 questions
Filter by
Sorted by
Tagged with
1answer
146 views

Spring damper model does not work very well

I'm trying to model a spring damper system from a tutorial that I've found on this site. If I use the exact same parameters as the ones in the tutorial the system is not stable. I've downloaded the ...
0answers
30 views

Combining trend estimation and constrained Marquart fit

This title certainly needs some clarification: I need to compute parameters $a_i$ for a helper function $f(\vec{a};k)$ (for grid interpolation) which is fitted to a number of values $y_k$ which are ...
1answer
764 views

1answer
365 views

Richardson extrapolation for strong rate of convergence of SDE

Is it possible to apply Richardson extrapolation with Euler-Maruyama scheme to improve strong rate of convergence of stochastic differential equations?
3answers
254 views

Best practices for describing agent-based models

I work fairly heavily in mathematical biology/epidemiology, where most of the modeling/computational science work is still dominated by sets of ODEs, admittedly sometimes fairly elaborate sets of them....
6answers
5k views

How can the gravitational n-body problem be solved in parallel?

How can the gravitational n-body problem be solved numerically in parallel? Is precision-complexity tradeoff possible? How does precision influence the quality of the model?
3answers
173 views

Numerics: How do I renormalize the following ODE

This question is more about how to tackle a problem numerically. In a small project I wanted to simulate the coorbital motion of Janus and Epimetheus. This is basically a three body problem. I ...
2answers
2k views

Is there an open source set of ODE solvers for C that use the native C99 complex type?

I've been using GSL as the foundation of many of my simulations, but it's a little bit overkill for my purposes and it defines its own complex type for legacy reasons. Rather than code my own Runge-...