# Write a C++ function that evaluates polynomials an a n x n + a n-1 x n-1 , … , a 2 x 2 ,a 1 x 1 , a 0x 0 . It should take following inputs: Value of x. Highest power n. Coefficients in descending order a n , a n-1 , … , a 2 , a 1 , a 0 (coefficients will nen+1)For instance, if x=4 , n=3 & coefficients are [2,3,1,2], then output should be 182 which isobtained by evaluating the polynomial 2 * 4 3 + 3 * 4 2 + 1 * 4 1 + 2 * 4 0Function Prototype: double evaluatePolynomial();

Write a C++ function that evaluates polynomials an a n x n + a n-1 x n-1 , … , a 2 x 2 ,a 1 x 1 , a 0x 0 . It should take following inputs: Value of x. Highest power n. Coefficients in descending order a n , a n-1 , … , a 2 , a 1 , a 0 (coefficients will nen+1)For instance, if x=4 , n=3 & coefficients are [2,3,1,2], then output should be 182 which isobtained by evaluating the polynomial 2 * 4 3 + 3 * 4 2 + 1 * 4 1 + 2 * 4 0Function Prototype: double evaluatePolynomial();

## Don't hesitate - Save time and Excel

Are you overwhelmed by an intense schedule and facing difficulties completing this assignment? We at GrandHomework know how to assist students in the most effective and cheap way possible. To be sure of this, place an order and enjoy the best grades that you deserve!

Post Homework
Top