Use the MATLAB Sy Math Toolbox functions to complete the following math problems
ID: 3593654 • Letter: U
Question
Use the MATLAB Sy Math Toolbox functions to complete the following math problems. Copy and paste your session from the command window into a text file to be submitted on canvas. 1. Use the expand function to express this product of polynomials as a single polynomial: ( +5x+6 T+9). 2. Factor the following polynomial to find its roots: 23-3r2-13r +15 3. Simplify the following equation: (cos(x) +sin(x)(cos(x) +sin() 4. Find the values of x that satisfy 3r2-82 + 5 0 . Find the derivative with respect to z of f(x)-+ 7x + 1 6. Find the derivative with respect to z of f(x) = x2 cos(r) 7. Calculate the definite integral 8. 1 + cos(r) 9. 22-4 limExplanation / Answer
The session has been copy-pasted as asked in the question.
Please upvote my answer if you find this useful.
-----Session Output-----
>> % Question 1
>> syms x
>> expand((x^2 + 5*x + 6)*(x - 4)*(4*x + 9))
ans =
4*x^4 + 13*x^3 - 47*x^2 - 222*x - 216
>> % Question 2
>> factor(x^3 - 3*x^2 - 13*x + 15)
ans =
(x + 3)*(x - 1)*(x - 5)
>> % Question 3
>> simplify((cos(x)+sin(x))*(cos(x)+sin(x)))
ans =
(cos(x) + sin(x))^2
>> % Question 4
>> solve(3*x^2 - 8*x + 5 == 0, x)
ans =
1
5/3
>> % Question 5
>> diff((x^3 + 7*x + 1)/(x^3 - x))
ans =
- (3*x^2 + 7)/(- x^3 + x) - ((3*x^2 - 1)*(x^3 + 7*x + 1))/(x - x^3)^2
>> % Question 6
>> diff(x^2*cos(x))
ans =
2*x*cos(x) - x^2*sin(x)
>> % Question 7
>> int(2*pi*x*(2-sqrt(x)),0,4)
ans =
(32*pi)/5
>> % Question 8
>> int((1+cos(x))/sin(x)^2)
ans =
-cot(x/2)
>> % Question 9
>> limit((x^2 - 4)/(x - 2),2)
ans =
4
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.