We first note how the polynomial in the previous exercise can be written in the nested multiplication method:
8 + x(-10 + x{l + x(-2 + x(3 + 12x)))). Using this representation, the following pseudocode procedure (implementing Horner s method) can be used to evaluate the given polynomial. Answer the questions in parts (a) and (b) of Exercise 5 for the new procedure given here. |
New search. (Also 1294 free access solutions) |