Question: Q 3 : Root finding Determine the real root of: f ( x ) = x 3 - 1 3 x - 1 2 a

Q3: Root finding
Determine the real root of: f(x)=x3-13x-12
a.(1 pt) Graphically. Report your graph and your estimates of the roots from the graph.
b.(6 pts) Using matlab or python, write a script to determine one of the roots using the bisection
method. Set a=2 a nd b=7. Print the normalized approximate percent error, lona(%), over 5
iterations. Submit your code, along with a table of results. Your table should have 5 rows (1 for each
itera-tion of the bisection method) and 3 columns: the iteration count, the approximate root at each
iteration, and lona(%) a t each iteration.
c.(1 pt) Compare your results of the previous step to the results from Mller's method given in
Example 7.2 of the textbook (also attached on the next page). Report the difference in
convergence between the two methods.
Here in particular, "convergence" means how fast the approximate percent error approaches zero. WRITE THE CODE IN MATLAB
Q 3 : Root finding Determine the real root of: f

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!