Modification to the Newton—Raphson Method for the Fitting of Nonlinear Functions by Least Squares

Abstract
A modification to the regularly used methods for the fitting of nonlinear functions by least squares is presented. The modified method converges in fewer cycles of the iterative solution than the unmodified Newton—Raphson method, and in certain cases, the modification makes the iteration converge from starting vectors for which the unmodified method diverges. A numerical example is given, where the modification is used with the Newton—Raphson method to obtain an analytical expression for the Thomas—Fermi—Dirac potential function of an atom. The solutions from the modified method are discussed in relation to the results of the unmodified ones for different starting values of the parameters.