Consider the polynomial function p(x) = 8x^3 - 2x - S. Introduce this polynomial
ID: 3829716 • Letter: C
Question
Consider the polynomial function p(x) = 8x^3 - 2x - S. Introduce this polynomial in MATLAB. p = [8 -2 -5) p = [8 0-2 -5] p = [8 0 - 5 -2] p = [8 0 0 -2 -5] Consider the polynomial function M(x) = x - x^2 = 2. Introduce this polynomial in MATLAB. M = [1 -1 - 2] M = [2 1 2] M = [-1 1 -2] M = [2 0 1 -2] Consider the polynomial function R(x) = 2X^5 - 3x^2 - 8x -2. Introduce this polynomial in MATLAB. R = [2 0 -3 -8 -2] R = [2 0 0 -3 -8 -2) R = [2 0 -3 -8 0 -2] R= [2 -3 -8 -2) How do we get the value of the polynomial function p(x) = 8x^3 - 2x- 5 at x=-1? In fact what is p(-1)? >> p = [8 0 - 2 - 5); >> Val = polyval(p.- 1) >> p = [8 -2 -5]; >> Val = polyval(p, -1) >> x = -1; >> val = 8*x^3-2*x=5 Both a and cExplanation / Answer
Question 1) [8, 0, -2, -5] answer is 2nd choice
Question 2) [-1, 1, -2] answer is 3rd choice
Question 3) [2, 0, 0, -3,-8, -2] --> answer is 2nd choice
Question 4) Both a and c --> answer is 4th choice
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.