3. The number of intersections of the function $y=x \cdot|x|-\left(4 \cos 30^{\circ}\right) x+2$ with the $x$-axis is $\qquad$
3.3 .
$$
y=\left\{\begin{array}{ll}
x^{2}-2 \sqrt{3} x+2, & x>0, \\
2, & x=0 . \\
-x^{2}-2 \sqrt{3} x+2, & x<0
\end{array}\right.
$$
When $x>0$, $y=x^{2}-2 \sqrt{3} x+2$ intersects the x-axis at 2 points;
When $x=0$, $y=2$ does not intersect the x-axis;
When $x<0$, $y=-x^{2}-2 \sqrt{3} x+2$ intersects the x-axis at 1 point.
Therefore, the graph of this function intersects the x-axis at 3 points.