Question: Answer question 3! Question 2 is only included as it is referenced in question 3. We are programming in Python, not matlab. DO NOT CODE

Answer question 3! Question 2 is only included as it is referenced in question 3. We are programming in Python, not matlab.

DO NOT CODE IN MATLAB PLEASE

Answer question 3! Question 2 is only included as it is referenced

Build a MATLAB program to evaluate the cosine function correct to 10 decimal places using Chebyshev interpolation. Start by interpolating on a fundamental domain [0,7/2], and extend your answer to inputs between -104 and 101. You may want to use some of the MATLAB code written in this chapter. Carry out the steps of Computer Problem 2 for In x, for inputs x between 10-4 and 104. Use [1, e] as the fundamental domain. What is the degree of the interpolation polynomial that guarantees 10 correct digits? Your program should begin by finding the integer k such that 2. 3. Then xe* lies in the fundamental domain. Demonstrate the accuracy of vour program by comparing it with MATLAB's log command. Build a MATLAB program to evaluate the cosine function correct to 10 decimal places using Chebyshev interpolation. Start by interpolating on a fundamental domain [0,7/2], and extend your answer to inputs between -104 and 101. You may want to use some of the MATLAB code written in this chapter. Carry out the steps of Computer Problem 2 for In x, for inputs x between 10-4 and 104. Use [1, e] as the fundamental domain. What is the degree of the interpolation polynomial that guarantees 10 correct digits? Your program should begin by finding the integer k such that 2. 3. Then xe* lies in the fundamental domain. Demonstrate the accuracy of vour program by comparing it with MATLAB's log command

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!