El gráfico de la función cruce el eje X con f = 0
o sea hay que resolver la ecuación:
$$\left(- \frac{\cos{\left(x \right)}}{\pi} + \frac{\pi}{8}\right) + \frac{\sin{\left(x \right)}}{2} = 0$$
Resolvermos esta ecuaciónPuntos de cruce con el eje X:
Solución analítica$$x_{1} = - 2 \operatorname{atan}{\left(\frac{- \sqrt{- \pi^{4} + 64 + 16 \pi^{2}} + 4 \pi}{8 + \pi^{2}} \right)}$$
$$x_{2} = - 2 \operatorname{atan}{\left(\frac{\sqrt{- \pi^{4} + 64 + 16 \pi^{2}} + 4 \pi}{8 + \pi^{2}} \right)}$$
Solución numérica$$x_{1} = 94.090495281354$$
$$x_{2} = -64.6823383891638$$
$$x_{3} = 87.8073099741744$$
$$x_{4} = 92.3972942903258$$
$$x_{5} = 18.6922715951989$$
$$x_{6} = 50.1081981310969$$
$$x_{7} = 43.8250128239173$$
$$x_{8} = -45.8327824676251$$
$$x_{9} = 56.3913834382764$$
$$x_{10} = -0.157284326339827$$
$$x_{11} = 86.1141089831463$$
$$x_{12} = 54.6981824472483$$
$$x_{13} = 163.205533660329$$
$$x_{14} = -8.13367062454753$$
$$x_{15} = -14.4168559317271$$
$$x_{16} = 100.373680588534$$
$$x_{17} = -26.9832265460863$$
$$x_{18} = -20.7000412389067$$
$$x_{19} = 42.1318118328892$$
$$x_{20} = -69.2723227053153$$
$$x_{21} = -118697.504123247$$
$$x_{22} = -39.5495971604455$$
$$x_{23} = -58.3991530819842$$
$$x_{24} = -52.1159677748046$$
$$x_{25} = 29.56544121853$$
$$x_{26} = -100.688249241213$$
$$x_{27} = 48.4149971400687$$
$$x_{28} = -88.121878626854$$
$$x_{29} = -12.723654940699$$
$$x_{30} = 35.8486265257096$$
$$x_{31} = -1.85048531736795$$
$$x_{32} = 75.2409393598152$$
$$x_{33} = -33.2664118532659$$
$$x_{34} = -232.635140691985$$
$$x_{35} = 73.5477383687871$$
$$x_{36} = -75.5555080124949$$
$$x_{37} = 62.674568745456$$
$$x_{38} = 16.9990706041708$$
$$x_{39} = 79.8309236759667$$
$$x_{40} = -37.8563961694173$$
$$x_{41} = -96.0982649250617$$
$$x_{42} = 24.9754569023785$$
$$x_{43} = 98.6804795975054$$
$$x_{44} = -70.9655236963434$$
$$x_{45} = 67.2645530616075$$
$$x_{46} = -50.4227667837765$$
$$x_{47} = 60.9813677544279$$
$$x_{48} = 13470.9920142667$$
$$x_{49} = -94.4050639340336$$
$$x_{50} = -6.44046963351941$$
$$x_{51} = -1283.620287982$$
$$x_{52} = -89.8150796178822$$
$$x_{53} = 37.5418275167377$$
$$x_{54} = -81.8386933196744$$
$$x_{55} = 12.4090862880193$$
$$x_{56} = 68.9577540526356$$
$$x_{57} = -19.0068402478786$$
$$x_{58} = -56.7059520909561$$
$$x_{59} = -703.874038730454$$
$$x_{60} = -31.5732108622378$$
$$x_{61} = 81.5241246669948$$
$$x_{62} = -77.248709003523$$
$$x_{63} = -62.9891373981357$$
$$x_{64} = 6.12590098083976$$
$$x_{65} = -83.5318943107026$$
$$x_{66} = 4.43269998981164$$
$$x_{67} = 23.2822559113504$$
$$x_{68} = 167.795517976481$$
$$x_{69} = -25.2900255550582$$
$$x_{70} = -44.1395814765969$$
$$x_{71} = 31.2586422095581$$
$$x_{72} = 10.7158852969912$$