Question: A. Use O(n^2) method to evaluate F(x) = a0+a1x+a2x^2+......+anx^n. Justify the Big-Oh bound. B. Use Horner's method, write F(x) again=a0+x(a1+x(a2+x(a3+.....+x(an-1+xan).....))). Why the formula gives a

A. Use O(n^2) method to evaluate

F(x) = a0+a1x+a2x^2+......+anx^n. Justify the Big-Oh bound.

B. Use Horner's method, write F(x) again=a0+x(a1+x(a2+x(a3+.....+x(an-1+xan).....))). Why the formula gives a faster method to evaluate F(x). Determine the Big-Oh bound. Justify the answer.

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!