Finite difference method is one of the very effective methods used for
solving the differential equations (ordinary or partial) numerically. It involves
replacing the derivatives appearing in the differential equation and boundary
conditions by suitable finite difference approximations. The accuracy of the
solution depends upon the number of grid points, chosen. By increasing the
number of grid points one can increase the accuracy of the solution to a desire
degree, however it involves increasingly tedious mathematical analysis.