Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The famous Wilkinson polynomial is defined as P ( z ) = p r o d j = 1 2 0 ( z - j

The famous Wilkinson polynomial is defined as P(z)=prodj=120(z-j). Hence, its zeros are the integers from 1 to 20. You can find
the coefficients for this polynomial in a blog post by Cleve Moler (the inventor of Matlab).
The coefficient of z20 of the exact Wilkinson polynomial is 1. Perturb this coefficient to be 1+lon, where lon=10-10.
(a) Using the roots command of Numpy, compute the corresponding zeros of the perturbed polynomial and plot them with
matplotlib. pyplot in the complex plane using blue crosses. Also, plot the exact zeros of the unperturbed Wilkinson polynomial
using red circles (for both, use the corresponding options in the plot function of Matplotlib). You want to draw the exact roots
first so that the crosses overlay the circles. Your answer should contain your plot in jpg or png image format.
(b) Interpret the perturbations you see in the plot. What magnitudes of condition numbers for the zeros would you expect from
your observation?
image text in transcribed

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: 3

blur-text-image

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

Data Visualization A Practical Introduction

Authors: Kieran Healy

1st Edition

0691181624, 978-0691181622

Students also viewed these Databases questions

Question

What is the dew-point temperature?

Answered: 1 week ago