The table below is drawn for a graph y = x3 - 3x + 1
\(\begin{array}{c|c} x & -3 & -2 & -1 & 0 & 1 & 2 & 3 \\\hline y = x^3 - 3x + 1 & 1 & -1 & 3 & 1 & -1 & 3 & 1\end{array}\)
From x = -2 to x = 1, the graph crosses the x-axis in the range(s)

A.

-1 < x < 0 and 0 < x < 1

B.

-2 < x < -1 and 0 < x < 1

C.

-2 < x < -1 and -1 < x < 0

D.

0 < x < 1

Correct answer is B

If the graph of y = x3 - 3x + 1 is plotted,the graph crosses the x-axis in the ranges -2 < x < -1 and 0 < x < 1