El profesor se sorprenderá mucho al ver tu solución correcta😉
tan(pi + x) + 2*tan(x) = 0
cambiando el signo de 0
Dividamos ambos miembros de la ecuación en 3
x1 = 59.6902604182061
x2 = -100.530964914873
x3 = -15.707963267949
x4 = -25.1327412287183
x5 = 84.8230016469244
x6 = 0.0
x7 = -75.398223686155
x8 = 97.3893722612836
x9 = -50.2654824574367
x10 = 81.6814089933346
x11 = -72.2566310325652
x12 = 91.106186954104
x13 = 50.2654824574367
x14 = -43.9822971502571
x15 = -37.6991118430775
x16 = 25.1327412287183
x17 = -65.9734457253857
x18 = -53.4070751110265
x19 = -18.8495559215388
x20 = -59.6902604182061
x21 = 15.707963267949
x22 = 9.42477796076938
x23 = 18.8495559215388
x24 = -56.5486677646163
x25 = -6.28318530717959
x26 = -62.8318530717959
x27 = 12.5663706143592
x28 = 56.5486677646163
x29 = 40.8407044966673
x30 = 3.14159265358979
x31 = -21.9911485751286
x32 = -84.8230016469244
x33 = 6.28318530717959
x34 = 69.1150383789755
x35 = 72.2566310325652
x36 = -78.5398163397448
x37 = 37.6991118430775
x38 = 21.9911485751286
x39 = 47.1238898038469
x40 = 34.5575191894877
x41 = -97.3893722612836
x42 = -31.4159265358979
x43 = 100.530964914873
x44 = -47.1238898038469
x45 = 28.2743338823081
x46 = 94.2477796076938
x47 = -40.8407044966673
x48 = -12.5663706143592
x49 = -34.5575191894877
x50 = -28.2743338823081
x51 = 78.5398163397448
x52 = -94.2477796076938
x53 = -91.106186954104
x54 = 43.9822971502571
x55 = 75.398223686155
x56 = 62.8318530717959
x57 = -3.14159265358979
x58 = 87.9645943005142
x59 = 53.4070751110265
x60 = -81.6814089933346
x61 = -87.9645943005142
x62 = 65.9734457253857
x63 = -69.1150383789755
x64 = 31.4159265358979
x65 = -9.42477796076938
x65 = -9.42477796076938