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
Get step-by-step solutions from verified subject matter experts
