Question: Let p ( x ) = a n x n + a n - 1 x n - 1 + cdots + a 0 .
Let cdots
Task:
Describe an algorithm on "paper" using pseudocode, that you can employ the Horner's algorithm
idea to efficiently calculate the Taylor polynomial coefficients of degree of the given
polynomial centered around any point Specifically, you need to determine the
coefficients for dots,you may choose to follow the hint below
Briefly explain why this algorithm will also work if
Write the Matlab code efficiently implement this algorithm
Choose the polynomials from problem and and calculate the Taylor polynomial the same
degree centered using your code. Verify your code comparing the values the
original polynomial and its Taylor polynomial several points.
Test also your code computing the values those same points the previous bullet, thess
computed onedegreeless Taylor polynomials, around the same
Hint:
Start evaluating What does give you?
Conceptually subtract from form a new polynomial, and recognize that has
a factor. Use idea similar Horner's method factor out iteratively, forming
polynomial such that
Efficiently evaluate just the what does give you now? Repeat this process.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
