Numerical Integration of ODEs with Forward Euler and Backward Euler in Python and Matlab

preview_player
Показать описание
In this video, we code up the Forward Euler and Backward Euler integration schemes in Python and Matlab, investigating stability and error as a function of the time step. We test these integrators on the simple spring-mass-damper system, where we have an analytic solution to compare against.

@eigensteve on Twitter

This video was produced at the University of Washington

%%% CHAPTERS %%%
0:00 Problem setup
8:39 Matlab code example
20:20 Python code example
Рекомендации по теме
Комментарии
Автор

Why am I even going to AMATH 301 lectures when I can watch this and understand instantly? Love your videos, go UW!

natedaeila
Автор

This is a great video, literally finished my numerical methods course this would have been super helpful!!

jdcl
Автор

Since the exact solution of this one is known, this would be a good time to show how the approximate schemes tend to vary from the ideal case.

byronwatkins
Автор

your videos are a gem. Thank you a lot !

nickivan
Автор

Great lecture! Thank you. How do you import the pendulum_ode in Python?

jaeimp
Автор

Excellent leacture please make video on "nonlinear dynamics for force condition"

aloktiwari
Автор

why didn't you plot the analytical solution in your code? Really helpful by the way, thanks!

woosix