El profesor se sorprenderá mucho al ver tu solución correcta😉
sin(2*x) + 2*cos(x) = 0
-pi x1 = ---- 2
pi x2 = -- 2
x2 = pi/2
suma
pi pi - -- + -- 2 2
=
0
producto
-pi pi ----*-- 2 2
=
2 -pi ----- 4
-pi^2/4
x1 = 86.3937626449816
x2 = -86.3937979737193
x3 = 4.71228918668806
x4 = 48.6945895587878
x5 = 1.5707963267949
x6 = -1.5708395883501
x7 = -95.8185602777545
x8 = 80.1107065596659
x9 = 89.5353906273091
x10 = 32.9867228626928
x11 = -17.2787595947439
x12 = 86.3938908510206
x13 = 45.553093477052
x14 = 64.4026493985908
x15 = 29.8451758719219
x16 = -58.1194274499719
x17 = -29.845130209103
x18 = -95.8185821748531
x19 = -39.2700111445703
x20 = -92.6769832808989
x21 = -20.4202507419375
x22 = -58.119532055033
x23 = 1393.29636850171
x24 = 70.6858347057703
x25 = -45.5531406161696
x26 = -51.836262485438
x27 = -48.6946861306418
x28 = 36.1283177986942
x29 = -45.553042714615
x30 = -42.4115008234622
x31 = -51.8362552464215
x32 = 80.1106034946956
x33 = -67.5442420521806
x34 = -23.5619449019235
x35 = 20.4203522483337
x36 = 73.827477322712
x37 = -61.261056745001
x38 = -64.4025511842224
x39 = 92.6768899714075
x40 = -14.1372535946994
x41 = -36.1283155162826
x42 = 29.8450277989543
x43 = 14.1371669411541
x44 = 23.5620496503301
x45 = 51.8362787842316
x46 = -14.1371257126071
x47 = 42.4116084929189
x48 = -83.2523114345838
x49 = -4.71238898038469
x50 = -89.535441589746
x51 = 95.8185759344887
x52 = -83.2520989260588
x53 = 76.9690200129499
x54 = 4.71247207702943
x55 = 58.1194640914112
x56 = -80.1106126665397
x57 = -73.8274273593601
x58 = 67.5443499931316
x59 = 7.85398163397448
x60 = 42.4114614973024
x61 = -7.85396934854081
x62 = 26.7035375555132
x62 = 26.7035375555132