People, help me with this lisp function. There is a list with polynomial coefficients. This function needs to calculate value of polynomial.
Pol (x list)
for example (Pol 2 '(3 5 2))
=> 17
People, help me with this lisp function. There is a list with polynomial coefficients. This function needs to calculate value of polynomial.
Pol (x list)
for example (Pol 2 '(3 5 2))
=> 17
You need to use the Horner's method.