- Q1 A The Conventional Algorithm For Evaluating A Polynomial Anc An 1 C A C A At X C Can Be Expressed I 1 (38.13 KiB) Viewed 5 times
Q1 A. The conventional algorithm for evaluating a polynomial anc" + an-1 c²−¹ +... + a₁c + a at x = c can be expressed i
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Q1 A. The conventional algorithm for evaluating a polynomial anc" + an-1 c²−¹ +... + a₁c + a at x = c can be expressed i
Q1 A. The conventional algorithm for evaluating a polynomial anc" + an-1 c²−¹ +... + a₁c + a at x = c can be expressed in pseudocode by: procedure polynomial (c, ao, a₁,..., an: real numbers) power: = 1 y := ao for i:=1 to n power: = power *c y = y + a₂ * power return yfy = anc" + an-1 c¹-¹ +··· + a₂c + a。} where the final value of y is the value of the polynomial at x = c. B. Find the values of 3x² + x + 1 at x = 2 by working through each step of the algorithm and showing the values assigned at each assignment step. i power C return 0 1 2 C. How many additions can be performed in one second if one addition is completed in a tenth of a nanosecond. (1 nanosecond: = one billionth of a second = 10-⁹) | D. What does it mean that the function sin x is 0 (1)? E. Show that 3x² + 2x − 5 is 0 (x²). State clearly the witnesses C and k that arise from your work.