Question: Matlab Newton's method hw help 1 Exercise Consider a function f : R2 + R2. Applying the Newton's method to this function with different initial

Matlab Newton's method hw help

Matlab Newton's method hw help 1 Exercise Consider a function f :

1 Exercise Consider a function f : R2 + R2. Applying the Newton's method to this function with different initial points will result in Newton converging to different zeros of f. Write a Matlab-function that produces a figure showing which initial points converge to the same zero. The Matlab-function should take four inputs: f, (x0, x1) and (yo, y1], indicating the coordinates to consider, and N, the refinement of the axes, The Matlab-function should have no output but create a plot indicating which areas in the rectangle (x0, x] [yo, y] converged to the same zero under the Newton's algorithm. The results should be based on N2 points in the rectangle Store the intial points. You should consider the combination bewteen N points in the interval (x0, x] and N points in the interval [yo, y). Run the Newton's method on the initial points and store the approx- imation of the zero it converged to. Use these results to create a plot: - determine the number of different zeros, determine which approximations of the zeros are the same, color boxes that converged to the same zero with the same color, you can use the function fill or patch to color the plot. 1 Exercise Consider a function f : R2 + R2. Applying the Newton's method to this function with different initial points will result in Newton converging to different zeros of f. Write a Matlab-function that produces a figure showing which initial points converge to the same zero. The Matlab-function should take four inputs: f, (x0, x1) and (yo, y1], indicating the coordinates to consider, and N, the refinement of the axes, The Matlab-function should have no output but create a plot indicating which areas in the rectangle (x0, x] [yo, y] converged to the same zero under the Newton's algorithm. The results should be based on N2 points in the rectangle Store the intial points. You should consider the combination bewteen N points in the interval (x0, x] and N points in the interval [yo, y). Run the Newton's method on the initial points and store the approx- imation of the zero it converged to. Use these results to create a plot: - determine the number of different zeros, determine which approximations of the zeros are the same, color boxes that converged to the same zero with the same color, you can use the function fill or patch to color the plot

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!