Question

Consider the following algorithm (known as Horner'
1 0
Add a comment Improve this question Transcribed image text
Answer #1

a) f(x)=4x+8x+x+2 for x=3

= 2+x(4+8+1)

= 2+3(13)

= 2+39 =41

b) To convert between different positional of numeral systems we will use this method. In this method, case x is the base of the number system, and the ai coefficients are the digits of the x representation for a given number. And can also be used if x is a matrix, where the gain in computational efficiency is large. Actually, when x is a matrix, further acceleration is possible where we look deep into the structure of matrix multiplication, where only {\displaystyle {\sqrt {n}}}instead of n multiplies are needed (at the expense of requiring more storage)

c) O(n)= as we go with polynomial equation

Add a comment
Know the answer?
Add Answer to:
Consider the following algorithm (known as Horner's rule) to evaluate f(x) = sigma_i=0^x a, x^i; poly...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT