New answers tagged ode
2
votes
scipy odeint - Excess work done on this call
I modified your code to use the more up-to-date solve_ivp and it no longer gets the problem:
...
1
vote
Local truncation error of given implicit 1-step scheme
You insert the exact solution on both sides so that $y'(t_{n+1})=f(t_{n+1},y(t_{n+1}))$ and $y''(t_{n})=f'(t_{n},y(t_{n}))$. Thus
\begin{align}
O(h^{p+1})=g(h)&=-y(t+h)+y(t)+\frac{h}{6}[4y'(t)+2y'(...
Top 50 recent answers are included
Related Tags
ode × 528numerics × 99
matlab × 91
python × 86
runge-kutta × 62
differential-equations × 55
scipy × 46
numerical-modelling × 36
pde × 31
time-integration × 30
stiffness × 28
boundary-conditions × 26
nonlinear-equations × 26
finite-difference × 23
computational-physics × 23
integration × 20
c++ × 15
implicit-methods × 15
simulation × 14
stability × 14
finite-element × 12
eigenvalues × 12
error-estimation × 12
algorithms × 11
linear-algebra × 9