Question: Write a function in C++. hornersRule is a function that should take a vector of integers (coefficients of a polynomial) and another integer as input
Write a function in C++.
hornersRule is a function that should take a vector of integers (coefficients of a polynomial) and another integer as input and return the value of polynomial, evaluated at that particular integer.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
