Question

f(x) = 2.10 Consider the following algorithm (known as Horners rule) to evaluate -ax: poly = 0; for( i=n; i>=0; i--) poly =

1 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

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 system. In this method , case x is the base of number system, and the ai coefficients are the digits of the x representation for given number. if x is the matrix, then gain in computational efficiency is large, when x is a matrix, further acceleration is possible ,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:
f(x) = 2.10 Consider the following algorithm (known as Horner's rule) to evaluate -ax': 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
  • Consider the following algorithm (known as Horner's rule) to evaluate f(x) = sigma_i=0^x a, x^i; poly...

    Consider the following algorithm (known as Horner's rule) to evaluate f(x) = sigma_i=0^x a, x^i; poly = 0; for(i=n; i>=0; i--) poly = x * poly + a_i a. Show how the steps are performed by this algorithm for x = 3, f(x) = 4x + 8x + x + 2. b. Explain why this algorithm works. c. What is the running time of this algorithm?

  • 12 if x = 1,2 1. Define f:[0,2] → R by the rule f(x) = {...

    12 if x = 1,2 1. Define f:[0,2] → R by the rule f(x) = { 11 otherwise a. For any e > 0, find a partition Psuch that U (f, Pc) < € (be careful, as the minimum value for the function is one and not zero) b. Evaluate ſf

  • Consider the linear system of first order differential equations x' = Ax, where x= x(t), t...

    Consider the linear system of first order differential equations x' = Ax, where x= x(t), t > 0, and A has the eigenvalues and eigenvectors below. 4 2 11 = -2, V1 = 2 0 3 12 = -3, V2= 13 = -3, V3 = 1 7 2 i) Identify three solutions to the system, xi(t), xz(t), and x3(t). ii) Use a determinant to identify values of t, if any, where X1, X2, and x3 form a fundamental set of...

  • Given the following piecewise function, evaluate f(-5). I < -4 f(x) = . 1-42 -3x (x²...

    Given the following piecewise function, evaluate f(-5). I < -4 f(x) = . 1-42 -3x (x² – 2 -4 < x < 0 0<x

  • 6. Consider the following basic problem. You're given an array A consisting of n integers A[1],...

    6. Consider the following basic problem. You're given an array A consisting of n integers A[1], A[2], , Aln]. You'd like to output a two-dimensional n-by-n array B in which B[i, j] (for i <j) contains the sum of array entries Ali] through Aj]-that is, the sum A[i] Ai 1]+ .. +Alj]. (The value of array entry B[i. Λ is left unspecified whenever i >j, so it doesn't matter what is output for these values.) Here's a simple algorithm to...

  • Please write neat and show work/steps 3. Consider the function f(x) = (4x +5 on the...

    Please write neat and show work/steps 3. Consider the function f(x) = (4x +5 on the interval (-1.1). (a) Find the quadratic Taylor approximation fr(x) > 00 + 10 + c2x2. Calculate the C to four decimal places. (b) Find the quadratic Legendre approximation f1(x) -- 20 +ajx + a2x?. Calculate the a; to four decimal places. If the two approximations differ greatly, something is probably wrong. You may want to consult section 4 in the pdf I sent you...

  • Question 5 (20 marks) (a) i) A firm has production function y - f(x,z) -ax+Bz, for...

    Question 5 (20 marks) (a) i) A firm has production function y - f(x,z) -ax+Bz, for y 2 0, where y is output, and x, z the factors of production. Are the returns to scale constant, increasing or decreasing? Explain your answer. (3 marks) ii) Consider the production function: f(x1,2)2 where a is a positive parame- ter. Indicate for which values of a the returns to scale in production are increasing Explain your answer. (3 marks) iii) A firm has...

  • (1 point) The density function f (xl) = he-hx, is defined for <x< , with parameter...

    (1 point) The density function f (xl) = he-hx, is defined for <x< , with parameter 1 > 0. The likelihood function for the parameter 2 given n independent observations x = (X1, X2,...,xn) is L(xl2) = "e-1E1. Suppose three independent observations X1, X2 and X3 are taken and found to be 0.5447, 1.0291, 1.722. Parta) Evaluate, to two decimal places, the likelihood function for the data given at the point i = 1.26. Below is a plot of the...

  • 5. Let f(x) = ax2 +bx+c, where a > 0. Prove that the secant method for...

    5. Let f(x) = ax2 +bx+c, where a > 0. Prove that the secant method for minimization will terminate in exactly one iteration for any initial points Xo, X1, provided that x1 + xo: 6. Consider the sequence {x(k)} given by i. Write down the value of the limit of {x(k)}. ii. Find the order of convergence of {x(k)}. 7. Consider the function f(x) = x4 – 14x3 + 60x2 – 70x in the interval (0, 2). Use the bisection...

  • Hi there, Here are some mathematics MCQs I needed to check my answers to. Thanks :)...

    Hi there, Here are some mathematics MCQs I needed to check my answers to. Thanks :) Question 1 x2 (In z)dr equals Select one: O a. 2 3 1 a 3++c. ob. 2+ 2ln.z 0.2.+ + c. O d. 2. (In x)2 + 2x In x +c. o e. 22 (In x)² +c. Let x, y,b and N be positive real numbers. Which of the following statements is false? Select one: a. log, (+ y) = log, I + log,...

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