Graph of the function intersects the axis X at f = 0
so we need to solve the equation:
$$\frac{\left(x + 2\right)^{2}}{x - 1} = 0$$
Solve this equationThe points of intersection with the axis X:
Analytical solution$$x_{1} = -2$$
Numerical solution$$x_{1} = -2.00000141888457$$
$$x_{2} = -2.00000142355836$$
$$x_{3} = -2.00000127606163$$
$$x_{4} = -2.00000150983557$$
$$x_{5} = -2.00000127085349$$
$$x_{6} = -2.00000131540656$$
$$x_{7} = -2.00000149474529$$
$$x_{8} = -2.00000145494514$$
$$x_{9} = -2.00000128508423$$
$$x_{10} = -2.00000119635802$$
$$x_{11} = -2.00000130700358$$
$$x_{12} = -2.00000132049757$$
$$x_{13} = -2.00000129595631$$
$$x_{14} = -2.00000132734386$$
$$x_{15} = -2.00000195482268$$
$$x_{16} = -2.0000016180752$$
$$x_{17} = -2.0000014206362$$
$$x_{18} = -2.00000129903171$$
$$x_{19} = -2.00000147295727$$
$$x_{20} = -2.00000142573525$$
$$x_{21} = -2.00000130453327$$
$$x_{22} = -2.00000132481374$$
$$x_{23} = -2.00000128078352$$
$$x_{24} = -2.00000169132379$$
$$x_{25} = -2.00000142462183$$
$$x_{26} = -2.00000155565829$$
$$x_{27} = -2.00000129262907$$
$$x_{28} = -2.00000131889638$$
$$x_{29} = -2.00000125142338$$
$$x_{30} = -2.00000144062902$$
$$x_{31} = -2.0000012339791$$
$$x_{32} = -2.00000144950514$$
$$x_{33} = -2.00000150183527$$
$$x_{34} = -2.00000090999285$$
$$x_{35} = -2.00000133271537$$
$$x_{36} = -2.00000146871659$$
$$x_{37} = -2.00000146483565$$
$$x_{38} = -2.00000143076616$$
$$x_{39} = -2.00000128901771$$
$$x_{40} = -2.00000148841864$$
$$x_{41} = -2.00000164986538$$
$$x_{42} = -2.00000143874043$$
$$x_{43} = -2.00000142690222$$
$$x_{44} = -2.00000157252958$$
$$x_{45} = -2.00000132964091$$
$$x_{46} = -2.00000142812672$$
$$x_{47} = -2.00000132851945$$
$$x_{48} = -2.00000126507994$$
$$x_{49} = -2.00000133071187$$
$$x_{50} = -2.00000159292437$$
$$x_{51} = -2.00000122330742$$
$$x_{52} = -2.0000014294131$$
$$x_{53} = -2.00000151893356$$
$$x_{54} = -2.00000147761012$$
$$x_{55} = -2.00000144263723$$
$$x_{56} = -2.00000130931148$$
$$x_{57} = -2.0000012109175$$
$$x_{58} = -2.00000142254157$$
$$x_{59} = -2.0000013018828$$
$$x_{60} = -2.00000115796687$$
$$x_{61} = -2.00000109888248$$
$$x_{62} = -2.00000132611009$$
$$x_{63} = -2.00000154146998$$
$$x_{64} = -2.0000015293718$$
$$x_{65} = -2.00000052317146$$
$$x_{66} = -2.00000113193293$$
$$x_{67} = -2.00000124326681$$
$$x_{68} = -2.00000133624556$$
$$x_{69} = -2.00000132201318$$
$$x_{70} = -2.00000131147249$$
$$x_{71} = -2.00000174765223$$
$$x_{72} = -2.00000145212651$$
$$x_{73} = -2.00000182859988$$
$$x_{74} = -2.00000131350019$$
$$x_{75} = -2.00000131720216$$
$$x_{76} = -2.0000011790044$$
$$x_{77} = -2.00000077332479$$
$$x_{78} = -2.00000143369425$$
$$x_{79} = -2.00000143696108$$
$$x_{80} = -2.00000144706103$$
$$x_{81} = -2.00000143219125$$
$$x_{82} = -2.00000133455337$$
$$x_{83} = -2.00000133541658$$
$$x_{84} = -2.00000144477679$$
$$x_{85} = -2.00000143528175$$
$$x_{86} = -2.00000125864359$$
$$x_{87} = -2.00000142156843$$
$$x_{88} = -2.00000133365375$$
$$x_{89} = -2.00000146127052$$
$$x_{90} = -2.00000148273833$$
$$x_{91} = -2.00000145798418$$
$$x_{92} = -2.00000105553648$$
$$x_{93} = -2.00000141974236$$
$$x_{94} = -2.00000133173567$$
$$x_{95} = -2$$
$$x_{96} = -2.00000099619474$$
$$x_{97} = -2.00000132344991$$