Professional Documents
Culture Documents
1 Finding Roots (30 Points)
1 Finding Roots (30 Points)
Write each method in a separate function. Plot the errors vs. iteration step like I showed in class. Determine
the rate of convergence based on the plot for each method. Comment on and explain the convergence rate you
find for each method and each function. Explain if you find some methods is not suitable for the functions.
and later (in 1984) admitted about his experience of computing roots to that polynomial, “Speaking for
myself, I regard it as the most traumatic experience in my career as a numerical analyst.”
1
EP501 Numerical Methods Homework 2 Due Sep 27, 2013 11:59 pm
Use your best bisection routine to find all the real roots of Wilkinson’s polynomial for α = 1011 . As a
hint to get you started and verify a result, for α = 1011 , you should be able to obtain one solution as
p ≈ 8.9386518013726. If you do not obtain a result very, very close to this, you should revise your bisection
routine until it passes this, one of the “ultimate”, tests for a root-finding code.
Hint: plot the function first, to get an idea on where all roots are located.
Your grade on this problem will be determined by the number of correct digits in your answers!
Submit your code. When I run it, correct code should print out all 20 roots to at least 14 significant figures.
Explain why it is difficult to find the roots of this polynomial.