Here's how to solve a differential equation with boundary value conditions using numpy python and the finite difference method.