Solution of boundary value problems by finite difference method. import numpy as np import matplotlib.