Рет қаралды 15,545
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