There are a lot of ways to do it. One is to write a program using the cubic formula. If you just want the roots, use the solve() or zeros() functions.
For example, to find the zeros of x^2-6x^2+11x-6, enter
solve(x^3-6*x^2+11*x-6=0,x)
or
zeros(x^3-6*x^2+11*x-6,x)
Note that solve() has "=0" in it while zeros() does not.
solve() will give you an answer of
x=1 or x=2 or x=3
while zeros will give you an answer of
{1 2 3}
which plainly are the same thing, just expressed differently.
2,253 views
Usually answered in minutes!
×