Question: Please answer the following question in one script matlab or python. Copy and paste the code as answers please. From class, we know that the

Please answer the following question in one script matlab or python. Copy and paste the code as answers please.

Please answer the following question in one script matlab or python. Copy

From class, we know that the zeros of the nth Chebyshev polynomial Tn(x)=cos(narccos(x)) are xj=cos(2n2j+1)j=0,,n1. Let n=3, so T3(x)=cos(3arccos(x))=4x33x. For Newton's approximation, we set g(x)=x12x234x33x. (a) Write a function that evaluates g(x). (b) Write a function that evaluates T3(x). (c) Using fixed point iteration with seed x0=0.9, estimate the value of a zero of the Chebyshev polynonial T3(x) using g(x) to 8 decimal places. You can choose the appropriate stopping criterion. (d) Verify numerically that the evaluatation of T3(x) at your answer in (c) is small

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