摘要:In this paper, we present a unified framework for analyzing the spectral collocation method for neutral functional-differential equations with proportional delays using shifted Legendre polynomials. The proposed collocation technique is based on shifted Legendre-Gauss quadrature nodes as collocation knots. Error analysis and stability of the proposed algorithm are theoretically investigated under several mild conditions. The accuracy of the proposed method has been compared with a variational iteration method, a one-leg θ-method, a particular Runge-Kutta method, and a reproducing kernel Hilbert space method. Numerical results show that the proposed methods are of high accuracy and are efficient for solving such an equation. Also, the results demonstrate that the proposed method is a powerful algorithm for solving other delay differential equations.