Question: Task 4 . Do the codes. Let f ( x ) be a function of x . f ( x ) = x 5 +

Task4.
Do the codes.
Let f(x) be a function of x.
f(x)=x5+2.5x4-2x3-6x2+x2+2
a. Find the actual roots of f(x) and print them.
b. Plot the function for -2.5x1.5, also point out the the found roots in the plot
c. The following g1(x) is given which is derived from Eq(4.1),
Use Contraction Mapping Theorem and calculate the value of for the given g(x)
g1(x)=12(-x5-2.5x4+2x3+6x2-2)
d. Compute the convergence/divergence table using all the calculated roots for the given g1(x) and prove the whole g1(x) is divergent
Given,
g2(x)=16(x5+2.5x4-2x3+12x+2)2
g3(x)=12.5(-x5+2x3+6x2-12x-2)4
e. Derive 2 more separate g4(x) and g5(x) from the given f(x). Implement g2(x),g3(x),g4(x) and g5(x).
f. Apply Fixed Point Method on the g2(x),g3(x),g4(x) and g5(x). and find the approprate roots, show 20 iterations for each g(x) for x0=0.8
and show the convergence table using data from each iteration
g. Plot the g(x)s where actual roots were found along with f(x).
[] #4a this cell should print
[] #4b This cell should print plot a graph
[] #4c This cell should print
[] #4d this cell should print
[] #4e This cell have no outputs
[] #4f This cell should print
[] #4g}\mathrm{ this cell should plot a graph. Do not plot those g(x) which will not converge.
Task 4 . Do the codes. Let f ( x ) be a function

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 Programming Questions!