El profesor se sorprenderá mucho al ver tu solución correcta😉
2 (sin(x) + cos(x)) - 1 = 0
x1 = 0
-pi x2 = ---- 2
pi x3 = -- 2
x3 = pi/2
suma
pi pi - -- + -- 2 2
=
0
producto
-pi pi 0*----*-- 2 2
=
0
0
x1 = -86.3937979737193
x2 = 29.845130209103
x3 = 14.1371669411541
x4 = 48.6946861306418
x5 = -72.2566310325652
x6 = -80.1106126665397
x7 = -7.85398163397448
x8 = -59.6902604182061
x9 = -6.28318530717959
x10 = 12.5663706143592
x11 = -119.380520836412
x12 = 67.5442420521806
x13 = 56.5486677646163
x14 = -58.1194640914112
x15 = 95.8185759344887
x16 = 72.2566310325652
x17 = 37.6991118430775
x18 = 80.1106126665397
x19 = 100.530964914873
x20 = 94.2477796076938
x21 = -14.1371669411541
x22 = 7.85398163397448
x23 = -29.845130209103
x24 = 70.6858347057703
x25 = -20.4203522483337
x26 = -87.9645943005142
x27 = -483.805268652828
x28 = -31.4159265358979
x29 = 59.6902604182061
x30 = 42.4115008234622
x31 = 0.0
x32 = -17.2787595947439
x33 = -67.5442420521806
x34 = 113.097335529233
x35 = 50.2654824574367
x36 = -53.4070751110265
x37 = 45.553093477052
x38 = -45.553093477052
x39 = -21.9911485751286
x40 = -23.5619449019235
x41 = 590.619418874881
x42 = 58.1194640914112
x43 = -36.1283155162826
x44 = 87.9645943005142
x45 = -51.8362787842316
x46 = -73.8274273593601
x47 = 4.71238898038469
x48 = 64.4026493985908
x49 = -42.4115008234622
x50 = -95.8185759344887
x51 = -75.398223686155
x52 = 81.6814089933346
x53 = -65.9734457253857
x54 = -37.6991118430775
x55 = 1.5707963267949
x56 = -43.9822971502571
x57 = 20.4203522483337
x58 = 23.5619449019235
x59 = -1.5707963267949
x60 = 92.6769832808989
x61 = 6.28318530717959
x62 = 28.2743338823081
x63 = -83.2522053201295
x64 = -94.2477796076938
x65 = 86.3937979737193
x66 = 43.9822971502571
x67 = -9.42477796076938
x68 = 65.9734457253857
x69 = 31.4159265358979
x70 = 89.5353906273091
x71 = -15.707963267949
x72 = -64.4026493985908
x73 = -50.2654824574367
x74 = -48.6946861306418
x75 = 36.1283155162826
x76 = 15.707963267949
x77 = 51.8362787842316
x78 = 26.7035375555132
x79 = 73.8274273593601
x80 = -39.2699081698724
x81 = 21.9911485751286
x82 = 34.5575191894877
x83 = -97.3893722612836
x84 = -40.8407044966673
x85 = -28.2743338823081
x86 = 78.5398163397448
x87 = -89.5353906273091
x88 = -81.6814089933346
x89 = -61.261056745001
x89 = -61.261056745001