2.34 Exercise 2.34
In every step, we add this-coeff to the product of the already-computed higher-terms and x. With an initial term of 0, this procedure readily applies itself to a use of accumulate.
(define (horner-eval x coefficient-sequence) (accumulate (lambda (this-coeff higher-terms) (+ this-coeff (* higher-terms x))) 0 coefficient-sequence))