Question: Matlab - Computer Science Consider the polynomials q(x) = x2 + 2x 13 and r(x) = x3 3x. 1. To plot the function 9(x) over
Matlab - Computer Science

Consider the polynomials q(x) = x2 + 2x 13 and r(x) = x3 3x. 1. To plot the function 9(x) over (10,20) we use: a. fplot(x^2+2*x-13')[10 201) b. q=sym(x^2+2*x-13) ezplot(q,[10 201) c. q=[1 2 -13]; x=10:0.1:20: y=polyval(p.x); plot(x,y) d. None of the above 2. To calculate r(2), we use: a. 1=[1 0 -3 0); polyval(1,2) b. r=inline('x^3-3x) r(2) c. syms x; FX^3-3x subs(f,x,2) d. all the above a b C d 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
