El profesor se sorprenderá mucho al ver tu solución correcta😉
tan(x) = -x
x1 = -2.02875783811043
x2 = 2.02875783811043
x3 = -7.97866571241324
x4 = 0.0
x5 = 7.97866571241324
x6 = -4.91318043943488