El profesor se sorprenderá mucho al ver tu solución correcta😉
sin(x) - sin(2*x) ----------------- = 0 ______________ \/ 2*cos(x) - 1
x1 = 0
x2 = -pi
x3 = pi
x3 = pi
suma
-pi + pi
=
0
producto
0*(-pi)*pi
=
0
0
x1 = -43.9822971502571
x2 = 84.8230016469244
x3 = -91.106186954104
x4 = -97.3893722612836
x5 = 6.28318530717959
x6 = 43.9822971502571
x7 = -72.2566310325652
x8 = -47.1238898038469
x9 = 94.2477796076938
x10 = 50.2654824574367
x11 = 56.5486677646163
x12 = 15.707963267949
x13 = -50.2654824574367
x14 = 37.6991118430775
x15 = -28.2743338823081
x16 = 65.9734457253857
x17 = 28.2743338823081
x18 = 40.8407044966673
x19 = -81.6814089933346
x20 = -6.28318530717959
x21 = -15.707963267949
x22 = -59.6902604182061
x23 = 72.2566310325652
x24 = 21.9911485751286
x25 = -75.398223686155
x26 = -87.9645943005142
x27 = 12.5663706143592
x28 = -103.672557568463
x29 = 78.5398163397448
x30 = 9.42477796076938
x31 = 87.9645943005142
x32 = -53.4070751110265
x33 = 53.4070751110265
x34 = 100.530964914873
x35 = -9.42477796076938
x36 = 81.6814089933346
x37 = -34.5575191894877
x38 = -3.14159265358979
x39 = 0.0
x40 = -21.9911485751286
x41 = -37.6991118430775
x42 = -78.5398163397448
x43 = -94.2477796076938
x44 = 97.3893722612836
x45 = 59.6902604182061
x46 = 47.1238898038469
x47 = 34.5575191894877
x48 = -65.9734457253857
x49 = -31.4159265358979
x49 = -31.4159265358979