Question: MATLAB question. Please keep it as basic as possible and no home made functions. P4.3.5 Horners scheme rearranges a polynomial as follows: anxn+an1xn1+ +a0 =

MATLAB question. Please keep it as basic as possible and no home made functions.

P4.3.5 Horners scheme rearranges a polynomial as follows:

anxn+an1xn1+ +a0 = ((anx +an1)x+ )x +a0.

Evaluating the polynomial in this order helps reduce the cancellation error discussed in P4.3.4. Plot

the function g(x) = x66x5+15x420x3+15x26x+1 across the interval [.995,1.005] using

Horners scheme and using the typical evaluation order (g(x) exactly as shown above). You will

see that the cancellation error using Horners scheme is smaller

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!