Numerical Computing :: Project Six

$24.99 $18.99

Consider the following nonlinear system of equations with two equations and two unknowns. The math problem can be stated as follows. Given f1(x1, x2) and f2(x1, x2) defined as f1 (x1 , x2) = x13 − x23 + x1, (1) f2(x1, x2) = x12 + x22 − 1. Find r1 and r2 such that f1(r1,…

5/5 – (2 votes)

You’ll get a: zip file solution

 

Categorys:

Description

5/5 – (2 votes)

Consider the following nonlinear system of equations with two equations and two unknowns. The math problem can be stated as follows. Given f1(x1, x2) and f2(x1, x2) defined as

f1

(x1

, x2) = x13

x23

+ x1,

(1)

f2(x1, x2) = x12 + x22 − 1.

Find r1 and r2 such that f1(r1, r2) = 0 and f2(r1, r2) = 0.

  1. Note that all the points such that f2 = 0 define a circle of radius 1 centered at the origin. Make a plot that shows (i) all the points that satisfy f1 = 0 and (ii) all the points that satisfy f2 = 0. Identify the points on the plot that satisfy both f1 = 0 and f2 = 0.

  1. By hand, calculate the 2 × 2 Jacobian matrix of the system (f1, f2).

  1. Use Newton’s method for systems to find the two solutions to the sys-tem of equations (f1 = 0, f2 = 0). Try several (10 or so) different initial guesses. Make a table of the answer that Newton’s method gives—something like:

Initial guess (x1(0), x2(0))

Newton’s answer (r1, r2)

####, ####

####, ####

The superscript in the column heading indicates the iteration number, i.e., 0 means the initial guess. Check the plot you made in problem 1 to see whether the answers you’re getting make sense.

4. Find a starting point where Newton’s method fails. Why did it fail?

1

Numerical Computing :: Project Six
$24.99 $18.99