Question: Write a python code Write a that evaluates polynomials should take two arguments. The first is a number x. The second is a list of
Write a that evaluates polynomials should take two arguments. The first is a number x. The second is a list of coefficients ordered from highest lowest: a_n, a_n - 1, ..., a_2, a_1, a_0. Your procedure should return the value of the polynomial evaluated at x, i e. a_nx^n + a_n - 1 x^n - 1 + .. + a_2 x^2 + a_1 x + a_0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
