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.00000046379709$$
$$x_{2} = -2.00000045070158$$
$$x_{3} = -2.00000047079664$$
$$x_{4} = -2.00000046487161$$
$$x_{5} = -2.00000029729834$$
$$x_{6} = -2.00000045324946$$
$$x_{7} = -2.00000043897666$$
$$x_{8} = -2.00000044197101$$
$$x_{9} = -2.0000006047672$$
$$x_{10} = -2.00000046399998$$
$$x_{11} = -2.00000044835722$$
$$x_{12} = -2.00000044589723$$
$$x_{13} = -2.00000045442756$$
$$x_{14} = -2.00000046552369$$
$$x_{15} = -2.00000045240373$$
$$x_{16} = -2.00000046410811$$
$$x_{17} = -2.00000045309793$$
$$x_{18} = -2.00000050922702$$
$$x_{19} = -2.00000045276989$$
$$x_{20} = -2.0000004668325$$
$$x_{21} = -2.00000047597816$$
$$x_{22} = -2.00000042333046$$
$$x_{23} = -2.00000043704851$$
$$x_{24} = -2.00000042814636$$
$$x_{25} = -2.0000004519924$$
$$x_{26} = -2.0000004653473$$
$$x_{27} = -2.00000047022684$$
$$x_{28} = -2.0000004638964$$
$$x_{29} = -2.00000044783257$$
$$x_{30} = -2.00000085914622$$
$$x_{31} = -2.00000045433164$$
$$x_{32} = -2.00000047380746$$
$$x_{33} = -2.00000048583419$$
$$x_{34} = -2.00000047481835$$
$$x_{35} = -2.00000046634096$$
$$x_{36} = -2.00000047142779$$
$$x_{37} = -2.00000045259198$$
$$x_{38} = -2.00000036425585$$
$$x_{39} = -2.00000045220422$$
$$x_{40} = -2.00000041673771$$
$$x_{41} = -2.00000046571028$$
$$x_{42} = -2.00000045353059$$
$$x_{43} = -2.00000045038479$$
$$x_{44} = -2.00000046611783$$
$$x_{45} = -2.00000045127056$$
$$x_{46} = -2.00000045099608$$
$$x_{47} = -2.00000046361024$$
$$x_{48} = -2.00000047291853$$
$$x_{49} = -2.00000046804618$$
$$x_{50} = -2.00000048303961$$
$$x_{51} = -2.00000044883508$$
$$x_{52} = -2.00000044059437$$
$$x_{53} = -2.00000046770851$$
$$x_{54} = -2.00000047213075$$
$$x_{55} = -2.00000040716196$$
$$x_{56} = -2.0000004788989$$
$$x_{57} = -2.00000045004308$$
$$x_{58} = -2.00000039198545$$
$$x_{59} = -2.00000045390481$$
$$x_{60} = -2.00000046880745$$
$$x_{61} = -2.00000046370178$$
$$x_{62} = -2.00000046710406$$
$$x_{63} = -2.00000044967339$$
$$x_{64} = -2.00000045293829$$
$$x_{65} = -2.00000044509499$$
$$x_{66} = -2.00000046841133$$
$$x_{67} = -2.00000047732241$$
$$x_{68} = -2.00000046433925$$
$$x_{69} = -2.0000004807735$$
$$x_{70} = -2.0000004517671$$
$$x_{71} = -2.00000050023215$$
$$x_{72} = -2.00000045366121$$
$$x_{73} = -2.00000046590798$$
$$x_{74} = -2.00000044927213$$
$$x_{75} = -2.0000004533935$$
$$x_{76} = -2.00000045378581$$
$$x_{77} = -2.00000046657869$$
$$x_{78} = -2.00000046502195$$
$$x_{79} = -2.00000046422109$$
$$x_{80} = -2.00000044315675$$
$$x_{81} = -2.00000046923867$$
$$x_{82} = -2.00000046446296$$
$$x_{83} = -2.00000052325369$$
$$x_{84} = -2.00000046459263$$
$$x_{85} = -2.00000045423169$$
$$x_{86} = -2.00000046739533$$
$$x_{87} = -2.00000043181848$$
$$x_{88} = -2.00000043471105$$
$$x_{89} = -2.00000046970986$$
$$x_{90} = -2.00000044418871$$
$$x_{91} = -2.00000048936651$$
$$x_{92} = -2.00000044725389$$
$$x_{93} = -2.00000045412742$$
$$x_{94} = -2.000000548176$$
$$x_{95} = -2.00000049397314$$
$$x_{96} = -2.00000045401857$$
$$x_{97} = -2.00000045152699$$
$$x_{98} = -2.00000046472868$$
$$x_{99} = -2$$
$$x_{100} = -2.0000004651803$$
$$x_{101} = -2.00000044661238$$