Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

in Matlab solve the following... the only ones that I can\'t get to work are the

ID: 3857575 • Letter: I

Question

in Matlab solve the following... the only ones that I can't get to work are the bolded problems, I only put the other questions so you could follow my work on the screen shot picture below of how I plugged the values into Matlab, please help.

19. The following problem spans several questions. First de ne the function f(x) = 2x2 +8x+7 symbolically. Assign to f(x).


20. Calculate f(6)f(6) -f(6 + f(9)) + f(f(2)f(3)). Assign to p19.


21. Use simplify to simplify f(1 - 4x2 + 8x3 + 7x4). Assign to p20.


22. Use solve to solve f(x) = 7. Assign to p21.


23. Use solve to solve 4f(4x) = 5 + f(x + 4). Assign to p22.


24. The following problem spans several questions. First define the function g(x) = 2/5+x symbolically. Assign to g(x).

25. Define the function h(x) = 6x + 3 symbolically. Assign to h(x).


26. Use solve to solve 4g(x) = h(5x). Assign to p25.


27. Use solve to solve g(h(x)) = h(g(x)). Assign to p26.


28. Use vpasolve to approximate all of the solutions to 5x5+9x4+3x3+6x2+3x+7 = 0. Assign to p27.


29. Use vpasolve to approximate an x-intercept of y = x/7 +cos(x/7 - 4)+e(x/7-4) -4 near x = 21. Assign to p28.


30. Use vpasolve to approximate the largest x-intercept of the function y = sin x + 0:4 (1:2x). Use a nearby sensible integer value of your choice. Find this nearby sensible integer however you wish, how you find it is not part of the assignment. Assign to p29.

MATLAB R2017a-academic student use HOME PLOTS EDITOR earch Documentation Elizabeth Find Files Compare Print comment 963y Go To New Open Save Breakpoints Run Run and Advance Advance Run and Find Indent Time FILE Users epete Documents MATLAB Editor-CAUserslepetelDocuments MATLABmatlab1.m 26p16solve (8*x*2 + bx 9,b) 27-ayma a b 28p17solve (3b/,b) syms f(x) syms E(x): =2"X"2+8.xt f(x): 31 (X) = f(6),f(6) -f(6 + f(9) + f(f(2),f(3))) 19-solve (f(x)-- (6) *E(6)-f (6+E (9))+E(E(2) (E (3) 35 20simplify (f (1-4*x*2+8*x*3-7*x*4) ayma t(x) 39 40 41 - p21 = 80lve (f(x)-7 22- ayms c(x) g (x)2/ (5+x) syma h(x) 43 - 45 - 46 26solve (g (h (x))-h (g(x) 27vpasolve (5*x*5+9*x*4+3*x*3+6*x*2+3*x+7--0) 28 pasolve( 48 - 49 - (x/7) +cos ((x/7)-4) +e x/7)-4) -4) script Ln 30 Col1 100% 2-13 PM 7/16/2017

Explanation / Answer

Given below are the answers-

By the way, in the image shown by you, the answer for Q21 is wrong. P20 should actually have the last term with + 7 * x ^ 4. Your image shows minus sign i.e - 7 *x^4. I have corrected that and given the answer.

syms f(x);
f(x) = 2*x.^2 +8*x+7;
p19 = f(6)*f(6) -f(6 + f(9)) + f(f(2) * f(3))
p20 = simplify(f(1 - 4*x^2 + 8*x^3 + 7*x^4))
p21 = solve(f(x) == 7)
p22 = solve(4*f(4*x) == 5+f(x+4))
p28 = vpasolve(x/7+cos(x/7-4)+exp(x/7-4)-4 == 0,x,21)