Numerically Solve Boundary Value Problems: The Shooting Method with Python (Part 1)

3 years ago
112

In this video, I’ll show how to use an initial value problem ODE solver such as Scipy’ solve_ivp to solve boundary value problems. This is a simple iterative technique called the shooting method which allows us to adjust one of the unknown initial conditions until we satisfy the specified boundary values to within some tolerance. This will be part one of two. Here I will solve a simple equation as a proof-of-concept. In part two I will address a real-world problem.

Github: https://github.com/kpmooney/numerical_methods_youtube/blob/master/bvp/Shooting%20Method.ipynb
Tipjar: https://paypal.me/kpmooney

Loading comments...