Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A basin of attraction for a root is defined by a cloud of starting points that converge to that particular root. You are asked to
A basin of attraction for a root is defined by a cloud of starting points that converge to that particular
root. You are asked to generate the basins of attraction by colouring each starting point with a unique colour based on the root it converges to
a You are given the following system of nonlinear equations:
Find all pairs of roots for the equations using an analytical approach, a graphical approach, or MATLAB builtin functions.
b Follow the steps below to find the pairs of roots using the NewtonRaphson method for solving a system of two nonlinear equations until the percent estimated relative error falls below
Step : Define different starting points x y such that they range from to with an
interval of
Step : For each of these starting points, determine which root it converges to by measuring the
Lnorm between the estimated root and roots in part a The tolerance for this measurement should be set carefully as this choice can change your plot. Try different tolerances.
Step : Specify a colour for all starting points that converge to the same root.
Step : Plot all starting points with their respective colours on a single figure. Plot all pairs of roots from part a in the figure as well.
c Include your code algorithm in your report.
Note: For the results provide digits after the decimal point.
please do not forget to include the code and the graph resulted.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started