Graph of the function intersects the axis X at f = 0
so we need to solve the equation:
$$\left(- \sin{\left(x \right)} + \cos{\left(x \right)}\right) - 1 = 0$$
Solve this equationThe points of intersection with the axis X:
Analytical solution$$x_{1} = 0$$
$$x_{2} = - \frac{\pi}{2}$$
Numerical solution$$x_{1} = 69.1150383789755$$
$$x_{2} = -1.5707963267949$$
$$x_{3} = -64.4026493985908$$
$$x_{4} = 80.1106126665397$$
$$x_{5} = -58.1194640914112$$
$$x_{6} = 61.261056745001$$
$$x_{7} = 213.628300444106$$
$$x_{8} = 12.5663706143592$$
$$x_{9} = 205.774318810131$$
$$x_{10} = -31.4159265358979$$
$$x_{11} = -100.530964914873$$
$$x_{12} = -69.1150383789755$$
$$x_{13} = 2475.57501102876$$
$$x_{14} = -25.1327412287183$$
$$x_{15} = -39.2699081698724$$
$$x_{16} = 73.8274273593601$$
$$x_{17} = 42.4115008234622$$
$$x_{18} = 67.5442420521806$$
$$x_{19} = -32.9867228626928$$
$$x_{20} = -81.6814089933346$$
$$x_{21} = 177939.807899326$$
$$x_{22} = 4.71238898038469$$
$$x_{23} = 18.8495559215388$$
$$x_{24} = 94.2477796076938$$
$$x_{25} = 0$$
$$x_{26} = 36.1283155162826$$
$$x_{27} = -62.8318530717959$$
$$x_{28} = -26.7035375555132$$
$$x_{29} = 10.9955742875643$$
$$x_{30} = -70.6858347057703$$
$$x_{31} = -125.663706143592$$
$$x_{32} = -56.5486677646163$$
$$x_{33} = 23.5619449019235$$
$$x_{34} = -89.5353906273091$$
$$x_{35} = -18.8495559215388$$
$$x_{36} = 6.28318530717959$$
$$x_{37} = 56.5486677646163$$
$$x_{38} = 87.9645943005142$$
$$x_{39} = 31.4159265358979$$
$$x_{40} = 17.2787595947439$$
$$x_{41} = 25.1327412287183$$
$$x_{42} = 576.482251933727$$
$$x_{43} = 29.845130209103$$
$$x_{44} = 43.9822971502571$$
$$x_{45} = 54.9778714378214$$
$$x_{46} = -12.5663706143592$$
$$x_{47} = -7.85398163397448$$
$$x_{48} = -50.2654824574367$$
$$x_{49} = 48.6946861306418$$
$$x_{50} = 100.530964914873$$
$$x_{51} = -51.8362787842316$$
$$x_{52} = 92.6769832808989$$
$$x_{53} = 81.6814089933346$$
$$x_{54} = 86.3937979737193$$
$$x_{55} = -75.398223686155$$
$$x_{56} = -76.9690200129499$$
$$x_{57} = -87.9645943005142$$
$$x_{58} = -20.4203522483337$$
$$x_{59} = 37.6991118430775$$
$$x_{60} = -6.28318530717959$$
$$x_{61} = -83.2522053201295$$
$$x_{62} = 50.2654824574367$$
$$x_{63} = 98.9601685880785$$
$$x_{64} = -37.6991118430775$$
$$x_{65} = -95.8185759344887$$
$$x_{66} = -14.1371669411541$$
$$x_{67} = -43.9822971502571$$
$$x_{68} = 62.8318530717959$$
$$x_{69} = -45.553093477052$$
$$x_{70} = -94.2477796076938$$
$$x_{71} = 75.398223686155$$