Graph of the function intersects the axis X at f = 0
so we need to solve the equation:
$$- \sin{\left(x \right)} + \cos{\left(x \right)} = 0$$
Solve this equationThe points of intersection with the axis X:
Analytical solution$$x_{1} = \frac{\pi}{4}$$
Numerical solution$$x_{1} = -36.9137136796801$$
$$x_{2} = 25.9181393921158$$
$$x_{3} = -80.8960108299372$$
$$x_{4} = 10.2101761241668$$
$$x_{5} = -14.9225651045515$$
$$x_{6} = 95.0331777710912$$
$$x_{7} = 41.6261026600648$$
$$x_{8} = 85.6083998103219$$
$$x_{9} = -46.3384916404494$$
$$x_{10} = -93.4623814442964$$
$$x_{11} = -11.7809724509617$$
$$x_{12} = 16.4933614313464$$
$$x_{13} = -77.7544181763474$$
$$x_{14} = -18.0641577581413$$
$$x_{15} = -74.6128255227576$$
$$x_{16} = 35.3429173528852$$
$$x_{17} = 0.785398163397448$$
$$x_{18} = 98.174770424681$$
$$x_{19} = 88.7499924639117$$
$$x_{20} = 66.7588438887831$$
$$x_{21} = 13.3517687777566$$
$$x_{22} = 79.3252145031423$$
$$x_{23} = 63.6172512351933$$
$$x_{24} = 82.4668071567321$$
$$x_{25} = -21.2057504117311$$
$$x_{26} = 19.6349540849362$$
$$x_{27} = -49.4800842940392$$
$$x_{28} = -99.7455667514759$$
$$x_{29} = 44.7676953136546$$
$$x_{30} = -228.550865548657$$
$$x_{31} = 51.0508806208341$$
$$x_{32} = -52.621676947629$$
$$x_{33} = 76.1836218495525$$
$$x_{34} = 1672.11268987317$$
$$x_{35} = -68.329640215578$$
$$x_{36} = -33.7721210260903$$
$$x_{37} = 60.4756585816035$$
$$x_{38} = -71.4712328691678$$
$$x_{39} = 38.484510006475$$
$$x_{40} = 101.316363078271$$
$$x_{41} = -2.35619449019234$$
$$x_{42} = -30.6305283725005$$
$$x_{43} = -40.0553063332699$$
$$x_{44} = 22.776546738526$$
$$x_{45} = 47.9092879672443$$
$$x_{46} = 7.06858347057703$$
$$x_{47} = -90.3207887907066$$
$$x_{48} = 54.1924732744239$$
$$x_{49} = 57.3340659280137$$
$$x_{50} = -43.1968989868597$$
$$x_{51} = 3.92699081698724$$
$$x_{52} = -24.3473430653209$$
$$x_{53} = -65.1880475619882$$
$$x_{54} = -62.0464549083984$$
$$x_{55} = -87.1791961371168$$
$$x_{56} = -55.7632696012188$$
$$x_{57} = -5.49778714378214$$
$$x_{58} = -96.6039740978861$$
$$x_{59} = -27.4889357189107$$
$$x_{60} = 73.0420291959627$$
$$x_{61} = 91.8915851175014$$
$$x_{62} = 29.0597320457056$$
$$x_{63} = -8.63937979737193$$
$$x_{64} = 32.2013246992954$$
$$x_{65} = 69.9004365423729$$
$$x_{66} = -58.9048622548086$$
$$x_{67} = -84.037603483527$$