|
newton1d.zip A one-dimensional Newton solver. Produces plots shown below to illustrate how Newton's method works. |
![]() This plot shows the succession of solution guesses (black stars) and resulting linear approximations to the function (red lines). |
![]() This plot shows the convergence of Newton's method in terms of the residual ||f(x)|| and the solution increments ||dx||. |