New answers tagged differential-equations
1
If you want to know the why and the how, you probably want to watch lecture 21.65 here:
https://www.math.colostate.edu/~bangerth/videos.html
Which you probably want to do after you've watched lecture 21.6.
Disclaimer: I'm the one in these videos.
1
The way I computed the solution in the linked answer is the classical one: I just took a reference solution (assuming the code was correct, i.e. the numerical solution I found is the right one) with a small enough step size $h$, say $h=10^{-9}$. Then I computed the solution with smaller $h$s and for each one of those $h$ I computed the $|| e_h ||$ in a ...
Top 50 recent answers are included
Related Tags
differential-equations × 127ode × 31
numerics × 31
finite-difference × 20
python × 18
computational-physics × 16
matlab × 15
nonlinear-equations × 11
scipy × 9
runge-kutta × 9
boundary-conditions × 7
diffusion × 7
finite-element × 6
pde × 6
integration × 6
numerical-modelling × 5
quantum-mechanics × 5
stability × 4
advection-diffusion × 4
linear-system × 4
stochastic × 4
dae × 4
optimization × 3
fluid-dynamics × 3
iterative-method × 3