






































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







































Lecture 11
POLYNOMIALS and Tree sort
INTRODUCTION
EVALUATING POLYNOMIAL FUNCTIONS Consider the polynomial: P(x) = a n x^ n + a n-1x^ n-1 + … + a 1 x +a 0 with real coefficients and n>=
Suppose the coefficients of agiven and that the problem is the evaluate p(x). 0 , a 1 , …, a n and x are
In this section we look at some algorithms and somelower bounds for this problem.
Use synthetic division to find the quotient and remainder when f x x x x g x x
( ) ( ).
= − + − = +
3 2 10 3
(^4 3 2) is divided by
Algorithms
Algorithm Polynomial Evaluation—Term by Term
Algorithm Polynomial Evaluation – Horner’s Method