Graph of the function intersects the axis X at f = 0
so we need to solve the equation:
$$\cos{\left(x \right)} - \frac{1}{2} = 0$$
Solve this equationThe points of intersection with the axis X:
Analytical solution$$x_{1} = \frac{\pi}{3}$$
$$x_{2} = \frac{5 \pi}{3}$$
Numerical solution$$x_{1} = -99.4837673636768$$
$$x_{2} = -24.0855436775217$$
$$x_{3} = -36.6519142918809$$
$$x_{4} = -19.8967534727354$$
$$x_{5} = 55.5014702134197$$
$$x_{6} = 38.7463093942741$$
$$x_{7} = -74.3510261349584$$
$$x_{8} = 76.4454212373516$$
$$x_{9} = 42.9350995990605$$
$$x_{10} = -89.0117918517108$$
$$x_{11} = 68.0678408277789$$
$$x_{12} = 49.2182849062401$$
$$x_{13} = -86.9173967493176$$
$$x_{14} = 24.0855436775217$$
$$x_{15} = -70.162235930172$$
$$x_{16} = -26.1799387799149$$
$$x_{17} = 5.23598775598299$$
$$x_{18} = -1.0471975511966$$
$$x_{19} = 17.8023583703422$$
$$x_{20} = -95.2949771588904$$
$$x_{21} = -38.7463093942741$$
$$x_{22} = -225.147473507269$$
$$x_{23} = 95.2949771588904$$
$$x_{24} = 93.2005820564972$$
$$x_{25} = -5.23598775598299$$
$$x_{26} = 19.8967534727354$$
$$x_{27} = 74.3510261349584$$
$$x_{28} = 99.4837673636768$$
$$x_{29} = 45.0294947014537$$
$$x_{30} = 86.9173967493176$$
$$x_{31} = 63.8790506229925$$
$$x_{32} = 82.7286065445312$$
$$x_{33} = 80.634211442138$$
$$x_{34} = -7.33038285837618$$
$$x_{35} = -42.9350995990605$$
$$x_{36} = 51.3126800086333$$
$$x_{37} = 26.1799387799149$$
$$x_{38} = 11.5191730631626$$
$$x_{39} = -93.2005820564972$$
$$x_{40} = -45.0294947014537$$
$$x_{41} = 36.6519142918809$$
$$x_{42} = 7.33038285837618$$
$$x_{43} = 89.0117918517108$$
$$x_{44} = 32.4631240870945$$
$$x_{45} = 70.162235930172$$
$$x_{46} = -82.7286065445312$$
$$x_{47} = -63.8790506229925$$
$$x_{48} = -13.6135681655558$$
$$x_{49} = -61.7846555205993$$
$$x_{50} = 30.3687289847013$$
$$x_{51} = -359.188760060433$$
$$x_{52} = -11.5191730631626$$
$$x_{53} = -68.0678408277789$$
$$x_{54} = -30.3687289847013$$
$$x_{55} = -76.4454212373516$$
$$x_{56} = 1651.43053823704$$
$$x_{57} = 57.5958653158129$$
$$x_{58} = -17.8023583703422$$
$$x_{59} = 1.0471975511966$$
$$x_{60} = -55.5014702134197$$
$$x_{61} = -80.634211442138$$
$$x_{62} = 13.6135681655558$$
$$x_{63} = -51.3126800086333$$
$$x_{64} = -49.2182849062401$$
$$x_{65} = -32.4631240870945$$
$$x_{66} = -57.5958653158129$$
$$x_{67} = 61.7846555205993$$