Q:

Find the roots of the equation f(x) = 0 for the following function. Also, create x and y vectors and plot this function in the range from -3 to 3 to visualize the solution. f(x) = 3x2 - 2x - 5

0

Find the roots of the equation f(x) = 0 for the following function. Also, create x and y vectors and plot this function in the range from -3 to 3 to visualize the solution. f(x) = 3x2 - 2x - 5

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

>> x = sym('x');

>> eqn = 3*x^2 - 2*x - 5;

>> root = solve(eqn)

root =

 -1

 5/3

>> ezplot(eqn,[-3,3])

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now