Newton's Method - Matlab Function - Science and Maths Assignment Help

Download Solution Order New Solution
Assignment Task:

Consider a function f: R2 —> R2. Applying 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, [xo, xi] and [yo, yi], 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, xi] x [yo, yi] converged to the same zero under the Newton's algorithm. The results should be based on N2 points in the rectangle [xo, xi] x [yo, yi].

• Store the initial points. You should consider the combination between N points in the interval [so, xi] and N points in the interval [yo, m]. 
• Run Newton's method on the initial points and store the approximation 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. 

Modified Newton 
Write a Matlab-function which determines the zero of a function using the modified Newton's method. The Matlab-function takes three inputs: a function, its derivative, and a starting point. The outputs are an approximation of zero, an estimate of the order of the zero, and a vector of all the iterations. The Matlab-function takes two optional inputs: a measure for the precision and the maximum number of iterations. 
• You can start out from the function newton.m on Canvas. 
• Estimate the order of the zero from the sequence of values in the iterations. 
• Can you, based on an example, say something about the order of convergence?

• Test your Matlab-function on different functions. 

This Science and Maths Assignment has been solved by our Science and Maths Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.