So the nonlinear equation that I need to find the number of its roots is $$(x+1)\cos x = x\sin x \qquad \text{with } x\in (-2\pi,2\pi)$$
Using the intermediate value theorem I know that the equation has at least one root on this interval, and if I use drawing I see that $x\sin x$ and $(x+1)\cos x$ intersect in three points, but from drawing I can't know if they might intersect again somewhere.
And the problem is that the number of zeroes is definitely not 3, the options are 4, 5, 6, 7 based on my textbook. I tried the Fixed point method but $\{x\}$ didn't converge, either my starting point or the function I chose were inappropriate. Can you help?
From the hint given by @zkutch, it is evident from the graph that the equation has five roots when $x\in[-2\pi,2\pi]$. As suggested by @Claude Leibovici I've posted the original graph which is indeed more nice than the second one. However, students are more familiar with the second one. Third graph if necessary.
:-)