Mathematics, 04.11.2019 22:31, marisolrojo2002
There is a more efficient algorithm (in terms of the number of multiplications and additions used) for evaluating polynomials than the conventional algorithm described in the previous exercise. it is called horner's method. this pseudocode show how to use this method to find the value of
at x=c
procedure horner(c, a₀, a₁, a₂ : real numbers)
y: =
for i: =1 to n
y: =y∗c+
{}
a) evaluate 3x²+x+1 at x=2 by working through each step of the algorithm showing the values assigned at each assignment step.
b) exactly how many multiplications and additions are used by this algorithm to evaluate a polynomial of degree n at x=c? (do not count additions used to increment the loop variable.
Answers: 2
Mathematics, 21.06.2019 17:00, hsernaykaw42
Use the frequency distribution, which shows the number of american voters (in millions) according to age, to find the probability that a voter chosen at random is in the 18 to 20 years old age range. ages frequency 18 to 20 5.9 21 to 24 7.7 25 to 34 20.4 35 to 44 25.1 45 to 64 54.4 65 and over 27.7 the probability that a voter chosen at random is in the 18 to 20 years old age range is nothing. (round to three decimal places as needed.)
Answers: 1
There is a more efficient algorithm (in terms of the number of multiplications and additions used) f...
Mathematics, 25.01.2021 01:00
Mathematics, 25.01.2021 01:00
English, 25.01.2021 01:00
Mathematics, 25.01.2021 01:00
Mathematics, 25.01.2021 01:00
Mathematics, 25.01.2021 01:00