I have the following function: $$f:\Bbb R\to \Bbb R\text{ defined by } f(x)=\left\{\begin{matrix}0 & \text{ if } x\leq0, \\ \cos(x)\sin\left(\frac1{x}\right) &\text{ if } x>0. \end{matrix}\right. $$ I have to prove that this function has the Darboux Property.
It is quite obvious that the function is discontinuous at $0$; in fact, the right-side limit doesn't even exist.
Intuitively I can also see that for any interval of the form $I=(0, \epsilon)$, with $\epsilon$ positive, $f(I)=[-1, 1]$ but I'm not sure if my intuition is correct, nor could I manage to find any way to prove this.
Another thing that I noticed is that $f\left(\frac1{2k\pi}\right)=0$ for any $k\in \Bbb N$(and even $\Bbb Z$ I guess). That didn't lead to anything.
Any ideas/hints/solutions would be appreciated!