Example.
Use Newton's method to find
the three roots of the cubic polynomial.
Determine the Newton-Raphson iteration formulathat
is used.Show details of the computations for the starting value.
Solution.
Graph the function.
How many real roots are there ?Really !
The Newton-Raphson iteration formulag[x]is
Starting with,
Use the Newton-Raphson method to find a numerical approximation to the
root.First, do the iteration one step at a time.Type each of the following
commands in a separate cell and execute them one at a time.
From the second graph we see that there are two other real roots, use the
starting values0.0and1.4to find them.
First, use the starting value
.
Then use the starting value
.
Compare our result with Mathematica's built in numerical root finder.
This can also be done with Mathematica's built in symbolic solve
procedure.
Back.
|