matlab please help Use MATLAB to obtain the roots of x^3 + 13x^2 = 52x + 6 = 0.
ID: 2083271 • Letter: M
Question
matlab please help
Explanation / Answer
(1) p = [1 13 52 6];
r = rots(p)
so r =
0.11889
6.44056+2.99797i
6.440562.99797i
now r = [-0.11889; -6.44056+2.99797i; -6.44056-2.99797i];
p=poly(r)
So p = 1.0000 13.0000 52.0000 6.0000
(2) u = [20 -7 5 10];
So w = 80 212 -124 121 105 -30
(3) u = [12 5 -2 3];
So q = 4 11
r = 59 -41
(4) p = [6 4 -5];
q = [12 -7 3 9];
b = polyval(q,2)
c = a/b
So c = 0.7108
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.