Boundary Value Problems via a Finite Difference method

3 years ago
59

In this video we will return to boundary value problems and solve the same equation we used for the shooting method video, this time via a finite difference method. We will transform the problem from a differential equation into a coupled system of algebraic equations. In this case, since the system is linear, we can make use of our basic linear algebra to get the solution. In the non-linear case, we could run the resulting system through a nonlinear solver like fsolve to get an answer.

Shooting Method: https://youtu.be/3hf2v39HJQE
Github: https://github.com/kpmooney/numerical_methods_youtube/blob/master/bvp/BVP%20Via%20Finite%20Difference.ipynb

Tip Jar: https://paypal.me/kpmooney

Loading comments...