I've been given this exercise (among others) and am trying to verify if it is periodic. For the other problems, I did some graph sketching and solved it but this one is a bit more complicated. At the moment, I just thought about using:
$$\sin(x)=\cos\left(\frac{\pi}{2}-x \right)$$
Yielding:
$$\cos(x)+\sin(\sqrt{3}x)=\cos(x)+\cos \left(\frac{\pi}{2} - \sqrt{3}x \right)$$
And I also tried to use identities such as the ones for $\sin(x) + \cos (y)$ and $\cos(x)+\cos(y)$ without success.
I've managed to find a strategy that could work: We assume that $f(x)=\cos(x)+\sin(\sqrt{3} x)$, if $f$ is periodic, then there is a unique smallest positive number $t$ such that for all $x$, we have:
$$f(x)=f(x+t)$$
All we need to do now is pick $x,x'$ such that finding solutions for $t$ in
$$f(x)=f(x+t)\\f(x')=f(x'+t)$$
yield different results. One of the "strategic" values is $x=0$, we then have:
$$1=\cos(t)+\sin(\sqrt{3}t)$$
Now if we come up with a certain $x'$ such that
$$\cos(x')+\sin(\sqrt{3}x')=\cos(x'+t)+\sin(\sqrt{3}(x'+t))$$
implies that $t$ needs to be different in both equations, I guess this shows it is non-periodic. The trouble is that finding such an $x'$ doesn't seem easy.