Example 2. Use
Newton's method to solve the nonlinear system
Solution 2.
First, enter the coordinate functions
and construct the vector function
using Mathematica, and then find the Jacobian
matrix
.
Second, graph the curves
and
using Mathematica. The points of intersection are
the solutions we seek.
![[Graphics:../Images/NewtonSystemMod_gr_233.gif]](../Images/NewtonSystemMod_gr_233.gif)
![[Graphics:../Images/NewtonSystemMod_gr_234.gif]](../Images/NewtonSystemMod_gr_234.gif)
Use the Newton-Raphson method to find a numerical approximation to
the solution near
.
A solution to the system satisfies
. Our
last approximation is stored in
,
check it out.
Accuracy is determined by the tolerance and number of iterations. How accurate was the solution "really"?
Do you think that iteration produced the solution ? Why ?
Compare with Mathematica's built in routine.
Whose answer is best, ours or Mathematica's ? How can this be ? Find out how to increase the number of iterations in Mathematica's subroutine.
Use the Newton-Raphson method to find a numerical approximation to
the solution near
.
A solution to the system satisfies
. Our
last approximation is stored in
,
check it out.
Do you think that iteration produced the solution ? Why ?
Compare with Mathematica's built in routine.
Whose answer is best, ours or Mathematica's ? How can this be ? Find out how to increase the number of iterations in Mathematica's subroutine.
(c) John H. Mathews 2004