Using Horner's rule, evaluate the polynomial p(x)= 2x5 -5x4 -3x2+15 at x=2. Analyse the computation time required for polynomial evaluation using Horner’s rule against the Brute force method.
Evaluation of Polynomial Using Horner's Rule
To evaluate the polynomial \( p(x) = 2x^5 - 5x^4 - 3x^2 + 15 \) at \( x = 2 \) using Horner's rule, we first rewrite the polynomial in Horner’s form:
\[ p(x) = 2x^5 - 5x^4 - 3x^2 + 15 \]
can be expressed as:
\[ p(x) = (((2x - 5)x - 3)x^2 + 15) \]
Now evaluate \( p(2) \) step-by-step:
1. Compute \( 2 \cdot 2 = 4 \).
2. Compute \( _______ ___ ___ _______ ____ _______ ______ ___ _________ ____ ___.
______ ____ ___ ______ ____ ______ ______ ___ ____ ______ ____.
_____ ______ _____ ______ ___ ___ __________ _____ _____ _____ ________ __________.
_________ __________ ___ ________ __________ ________ ____ ________ _________ ___ ________ __________.
_______ ____ ______ ______ _____ __________ _____.
_________ ______ ___ _______ ______ __________ ____ _____ ________ __________ _________.
_____ _____ ________ ______ ____ ___ ________ ____ ___ _____.
_______ ___ ____ __________ _____ _____ _______.
_________ ______ ___ __________ ______ ______ ______ __________ ________ _______.
_______ ________ _________ ____ ______ ________ ___ _________ ___.
___ _________ ___ ____ _____ __________ _________.
_____ __________ _________ ________ ________ __________ ____.
__________ _______ ______ ______ ______ ________ ___ _____.
_________ _____ ___ ________ __________ _____ __________.
___ ____ ____ ____ ________ _______.
________ ________ ______ __________ ______ _______ __________ __________ ________ _____.
_________ _______ __________ _________ _______ ___ ________ ___ __________ _______ _______ ________.
________ ____ ___ __________ ______ ___.
__________ __________ _______ _______ ______ _____.
______ _____ _______ ___ _______ _________ ______ ____.
______ _________ _____ _________ _____ ____ __________.
____ _________ ___ ____ ____ ______ ____ ______ ____.
____ __________ ________ ______ _________ _________ __________ ____ _________ ___ _______ __________.
_____ ___ ____ ___ __________ ___ _________.
____ ________ ________ _____ _________ ___ __________ ________ _______ ________.
__________ _____ ________ _______ _________ ________ _______.
____ ____ _________ ______ __________ _______ ____ ______ ______.
_______ ___ ___ ____ _________ _______ ____ __________ _______ _____ _________ ___.
_____ ____.
Get Full Answer on WhatsApp