El gráfico de la función cruce el eje X con f = 0
o sea hay que resolver la ecuación:
$$\tan{\left(x \right)} + 2 = 0$$
Resolvermos esta ecuaciónPuntos de cruce con el eje X:
Solución analítica$$x_{1} = - \operatorname{atan}{\left(2 \right)}$$
Solución numérica$$x_{1} = -29.3814826001022$$
$$x_{2} = 74.2910749683609$$
$$x_{3} = -70.2221870967695$$
$$x_{4} = 58.583111700412$$
$$x_{5} = -35.6646679072818$$
$$x_{6} = 96.2822235434895$$
$$x_{7} = 17.7424072037447$$
$$x_{8} = -63.93900178959$$
$$x_{9} = -26.2398899465124$$
$$x_{10} = 89.9990382363099$$
$$x_{11} = -89.0717430183083$$
$$x_{12} = -85.9301503647185$$
$$x_{13} = 46.0167410860528$$
$$x_{14} = 80.5742602755405$$
$$x_{15} = 99.4238161970793$$
$$x_{16} = -48.231038521641$$
$$x_{17} = 61.7247043540018$$
$$x_{18} = -76.5053724039491$$
$$x_{19} = 68.0078896611814$$
$$x_{20} = -92.2133356718981$$
$$x_{21} = -16.8151119857431$$
$$x_{22} = -126.770854861386$$
$$x_{23} = -41.9478532144614$$
$$x_{24} = 14.6008145501549$$
$$x_{25} = 24.0255925109243$$
$$x_{26} = 52.2999263932324$$
$$x_{27} = 39.7335557788732$$
$$x_{28} = -13.6735193321533$$
$$x_{29} = -101.638113632667$$
$$x_{30} = -4.24874137138388$$
$$x_{31} = 83.7158529291303$$
$$x_{32} = 30.3087778181038$$
$$x_{33} = -117.346076900616$$
$$x_{34} = 8.31762924297529$$
$$x_{35} = -57.6558164824104$$
$$x_{36} = 2.0344439357957$$
$$x_{37} = -51.3726311752308$$
$$x_{38} = 36.5919631252834$$
$$x_{39} = -7.39033402497368$$
$$x_{40} = -79.6469650575389$$
$$x_{41} = -19.9567046393328$$