Question: Let (ao, a,, an) be an array representing the coefficients of the polynomial n p(x) = aox + a12-1 + +an-1x+an. We wish to

Let (ao, a,, an) be an array representing the coefficients of the

Let (ao, a,, an) be an array representing the coefficients of the polynomial n p(x) = aox" + a12"-1 + +an-1x+an. We wish to compute p(20), where 20 E R. Horner's algorithm is a method for computing p(10) using n multiplications and n additions. This method is based on rewriting the expression of p(20) as follows p(xo)=(((aoxo + a1)xo + a2)xo ++an-1)x0+ an. Find a recursion relation for this expression.

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