Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed 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

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

Students also viewed these Databases questions