The roots routine will return a column vector containing the roots of a polynomial. The general syntax is
z = roots(p)
where p is a vector containing the coefficients of the polynomial ordered in descending powers.
Given a vector
which describes a polynomial
we construct the companion matrix (which has a characteristic polynomial matching the polynomial described by p), and then find the eigenvalues of it (which are the roots of its characteristic polynomial)
Example
Here is an example of finding the roots to the polynomial
--> roots([1 -6 -72 -27])
ans =
12.1229
-5.7345
-0.3884
-2x3 -5x2 assuming that this is written in exponential form
Answer:
2nd one into the {-2, -7} and the first one into {7,2}
Step-by-step explanation:
Answer:
65 hundreds= 65 x100 = 6500
290 ones= 290 x1= 290
The sum of both = 6500 +290= 6790