use sym, syms & coefficients of polynomails to multipy divide add and subtract t
ID: 3644083 • Letter: U
Question
use sym, syms & coefficients of polynomailsto multipy divide add and subtract these two functions
use pretty command after too
f1 = 5x^4 + 2x^3 + 1
f2 = 4x^3 + 1
and factor x^2-49
simplify 4x^4 + 3x^2 + 9
find derivatives of (2/x)/(x+5)
Find root of x^4 - 3x^3 + 2x^2-7x-11
Explanation / Answer
>> syms x >> f1 = 5*x^4 + 2*x^3 + 1 ; >> f2 = 4*x^3 + 1; >> f1+f2 ans = 5*x^4 + 6*x^3 + 2 >> f1-f2 ans = 5*x^4 - 2*x^3 >> f1*f2 ans = (4*x^3 + 1)*(5*x^4 + 2*x^3 + 1) >>f1/f2 ans = (5*x^4 + 2*x^3 + 1)/(4*x^3 + 1) >> factor(x^2-49 ) ans = (x - 7)*(x + 7) ** root of x^4 - 3x^3 + 2x^2-7x-11 For roots, write the coefficients in a matrix and use 'roots' function as shown below; >> p = [4 -3 2 -7 -11]; >> roots(p) ans = 1.6694 -0.0409 + 1.4017i -0.0409 - 1.4017i -0.8377
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.