El profesor se sorprenderá mucho al ver tu solución correcta😉
2 2 cos (x) - -*cos(x) = 0 2
a*w^2 + b*w + c = 0
D = b^2 - 4 * a * c =
(-1)^2 - 4 * (1) * (0) = 1
w1 = (-b + sqrt(D)) / (2*a)
w2 = (-b - sqrt(D)) / (2*a)
x1 = 0
pi x2 = -- 2
3*pi x3 = ---- 2
x4 = 2*pi
x4 = 2*pi
suma
pi 3*pi -- + ---- + 2*pi 2 2
=
4*pi
producto
pi 3*pi 0*--*----*2*pi 2 2
=
0
0
x1 = 73.8274273593601
x2 = 25.1327418085792
x3 = 87.9645943356049
x4 = -4.71238898038469
x5 = 14.1371669411541
x6 = 58.1194640914112
x7 = 10.9955742875643
x8 = 100.530964774136
x9 = 92.6769832808989
x10 = 36.1283155162826
x11 = -56.5486675907774
x12 = -7.85398163397448
x13 = -58.1194640914112
x14 = -48.6946861306418
x15 = 86.3937979737193
x16 = 51.8362787842316
x17 = -42.4115008234622
x18 = -89.5353906273091
x19 = 1.5707963267949
x20 = 69.1150379836781
x21 = 75.3982238342404
x22 = -69.115038497193
x23 = -37.6991118770355
x24 = 61.261056745001
x25 = -81.6814090377756
x26 = -70.6858347057703
x27 = 83.2522053201295
x28 = 37.6991120060109
x29 = 81.6814091609407
x30 = -36.1283155162826
x31 = 6.28318528429551
x32 = -92.6769832808989
x33 = 98.9601685880785
x34 = 94.2477796093526
x35 = -14.1371669411541
x36 = 80.1106126665397
x37 = 95.8185759344887
x38 = 50.2654824463558
x39 = 25.1327408583892
x40 = 45.553093477052
x41 = -17.2787595947439
x42 = 56.5486676180351
x43 = 4.71238898038469
x44 = 31.4159266948554
x45 = 20.4203522483337
x46 = -23.5619449019235
x47 = -100.530964736174
x48 = -51.8362787842316
x49 = -29.845130209103
x50 = -389.557489134924
x51 = 7.85398163397448
x52 = 18.8495557729205
x53 = 69.1150385134118
x54 = -26.7035375555132
x55 = -95.8185759344887
x56 = -39.2699081698724
x57 = -6.28318514935383
x58 = -62.8318534973011
x59 = -25.1327413641924
x60 = 23.5619449019235
x61 = -10.9955742875643
x62 = -86.3937979737193
x63 = -94.2477794613449
x64 = -32.9867228626928
x65 = -43.9822971746199
x66 = 12.5663704623094
x67 = -67.5442420521806
x68 = -75.3982238479311
x69 = -18.8495562409837
x70 = 76.9690200129499
x71 = -45.553093477052
x72 = 17.2787595947439
x73 = -83.2522053201295
x74 = -87.964594358935
x75 = 42.4115008234622
x76 = -76.9690200129499
x77 = -54.9778714378214
x78 = -73.8274273593601
x79 = 0.0
x80 = -1.5707963267949
x81 = 70.6858347057703
x82 = 54.9778714378214
x83 = -31.4159266930206
x84 = -12.5663704469816
x85 = 39.2699081698724
x86 = 26.7035375555132
x87 = -98.9601685880785
x88 = 48.6946861306418
x89 = 62.8318529132021
x90 = -20.4203522483337
x91 = -80.1106126665397
x92 = 43.9822971693881
x93 = 32.9867228626928
x94 = 64.4026493985908
x95 = 29.845130209103
x96 = 89.5353906273091
x97 = -50.2654823051418
x97 = -50.2654823051418