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

  Рет қаралды 15,545

Steve Brunton

Steve Brunton

Күн бұрын

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.
Playlist: • Engineering Math: Diff...
Course Website: faculty.washington.edu/sbrunto...
Codes (Python): faculty.washington.edu/sbrunto... and faculty.washington.edu/sbrunto...
Codes (Matlab): faculty.washington.edu/sbrunto... and faculty.washington.edu/sbrunto...
@eigensteve on Twitter
eigensteve.com
databookuw.com
This video was produced at the University of Washington
%%% CHAPTERS %%%
0:00 Problem setup
8:39 Matlab code example
20:20 Python code example

Пікірлер: 10
@jdcl3446
@jdcl3446 Жыл бұрын
This is a great video, literally finished my numerical methods course this would have been super helpful!!
@wireghost897
@wireghost897 Жыл бұрын
What an amazing lecture. Thank you.
@jaeimp
@jaeimp Жыл бұрын
Great lecture! Thank you. How do you import the pendulum_ode in Python?
@natedaeila
@natedaeila Жыл бұрын
Why am I even going to AMATH 301 lectures when I can watch this and understand instantly? Love your videos, go UW!
@byronwatkins2565
@byronwatkins2565 Жыл бұрын
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.
@nickivan9583
@nickivan9583 4 ай бұрын
your videos are a gem. Thank you a lot !
@aloktiwari1316
@aloktiwari1316 Жыл бұрын
Excellent leacture ..... please make video on "nonlinear dynamics for force condition"
@woosix7735
@woosix7735 7 ай бұрын
why didn't you plot the analytical solution in your code? Really helpful by the way, thanks!
@asadshareef5503
@asadshareef5503 Жыл бұрын
Thank u Sir
@AdrianGonzalez-ii7jb
@AdrianGonzalez-ii7jb Жыл бұрын
Nice
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 53 МЛН
Please be kind🙏
00:34
ISSEI / いっせい
Рет қаралды 88 МЛН
UFC Vegas 93 : Алмабаев VS Джонсон
02:01
Setanta Sports UFC
Рет қаралды 204 М.
Coding a Fourth-Order Runge-Kutta Integrator in Python and Matlab
36:52
How to Solve Differential Equations in PYTHON
23:37
Mr. P Solver
Рет қаралды 96 М.
Class 9: Nothing Has A Probability
28:10
William M Briggs : Statistician to the Stars!
Рет қаралды 2,3 М.
Monte Carlo Integration In Python For Noobs
15:32
Andrew Dotson
Рет қаралды 149 М.
Euler's Formula - Numberphile
21:23
Numberphile
Рет қаралды 339 М.
1st Year Calculus, But in PYTHON
32:13
Mr. P Solver
Рет қаралды 119 М.
TOP-18 ФИШЕК iOS 18
17:09
Wylsacom
Рет қаралды 817 М.
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 23 МЛН
Секретный смартфон Apple без камеры для работы на АЭС
0:22
Настоящий детектор , который нужен каждому!
0:16
Ender Пересказы
Рет қаралды 435 М.