Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

BY USING SPUDER (PYTHON) Basin of attraction If x is a root of the function f(x), and f is dierentiable, then it is guaranteed that

BY USING SPUDER (PYTHON)

Basin of attraction

If x is a root of the function f(x), and f is dierentiable, then it is guaranteed that if Newtons method is initialized with x0 close to x, that the method will converge to x. The set of values for x0 for which Newtons method converges to x is called the basin of attraction for the root x.

i) Plot the function f(x) = 1 1+(x+1)2 + 1 100ex 0.5 on the domain [5,5] and verify that f has three roots.

ii) Find each of these roots to 10 d.p. iii) Run Newtons method, initializing with many dierent values of x0, and make a plot of the output of Newtons method vs initial value x0, where x0 ranges over [5,5]. Based on this plot, determine the basin of attraction for the middle of these three roots.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What is meant by organisational theory ?

Answered: 1 week ago

Question

What is meant by decentralisation of authority ?

Answered: 1 week ago

Question

Briefly explain the qualities of an able supervisor

Answered: 1 week ago

Question

Define policy making?

Answered: 1 week ago

Question

Define co-ordination?

Answered: 1 week ago

Question

3. What might you have done differently

Answered: 1 week ago

Question

4. Did you rethink your decision?

Answered: 1 week ago

Question

3. Did you seek anyones advice?

Answered: 1 week ago