Graph of the function intersects the axis X at f = 0
so we need to solve the equation:
$$\cos{\left(0.5 x \right)} = 0$$
Solve this equationThe points of intersection with the axis X:
Analytical solution$$x_{1} = 3.14159265358979$$
$$x_{2} = 9.42477796076938$$
Numerical solution$$x_{1} = -59.6902604182061$$
$$x_{2} = 97.3893722612836$$
$$x_{3} = -21.9911485751286$$
$$x_{4} = -160.221225333079$$
$$x_{5} = -78.5398163397448$$
$$x_{6} = -65.9734457253857$$
$$x_{7} = -53.4070751110265$$
$$x_{8} = 21.9911485751286$$
$$x_{9} = -47.1238898038469$$
$$x_{10} = -72.2566310325652$$
$$x_{11} = -9591.28237140964$$
$$x_{12} = 9.42477796076938$$
$$x_{13} = 65.9734457253857$$
$$x_{14} = -28.2743338823081$$
$$x_{15} = -3.14159265358979$$
$$x_{16} = 28.2743338823081$$
$$x_{17} = 7517042.68028432$$
$$x_{18} = -84.8230016469244$$
$$x_{19} = 84.8230016469244$$
$$x_{20} = -34.5575191894877$$
$$x_{21} = -91.106186954104$$
$$x_{22} = 15.707963267949$$
$$x_{23} = 34.5575191894877$$
$$x_{24} = 91.106186954104$$
$$x_{25} = -15.707963267949$$
$$x_{26} = 59.6902604182061$$
$$x_{27} = 47.1238898038469$$
$$x_{28} = 3.14159265358979$$
$$x_{29} = -9.42477796076938$$
$$x_{30} = 40.8407044966673$$
$$x_{31} = -40.8407044966673$$
$$x_{32} = 72.2566310325652$$
$$x_{33} = 53.4070751110265$$
$$x_{34} = 78.5398163397448$$
$$x_{35} = -97.3893722612836$$