In this paper, a collocation method based on the Haar wavelet is presented for the solution of both linear and nonlinear first-order neutral delay differential equations. The Haar functions are used to approximate the first-order derivative, and the approximate solution is obtained by using initial condition and integration. Some examples from the literature are used to test the suggested method efficiency and applicability. A comparison of exact and approximate solutions is given in figures for different numbers of collocation points. The root mean square and maximum absolute errors are calculated for different numbers of collocation points. The rate of convergence is calculated which is approximately equal to 2. The comparison of the present method with the other numerical methods is also given. The results demonstrate that the Haar wavelet collocation method is simple and effective for solving first-order linear and nonlinear neutral delay differential equations.
Read full abstract