El profesor se sorprenderá mucho al ver tu solución correcta😉
(sin(x) + 1)*(2*sin(x) - 1) = 0
a*w^2 + b*w + c = 0
D = b^2 - 4 * a * c =
(1)^2 - 4 * (2) * (-1) = 9
w1 = (-b + sqrt(D)) / (2*a)
w2 = (-b - sqrt(D)) / (2*a)
-pi x1 = ---- 2
pi x2 = -- 6
5*pi x3 = ---- 6
3*pi x4 = ---- 2
x4 = 3*pi/2
suma
pi pi 5*pi 3*pi - -- + -- + ---- + ---- 2 6 6 2
=
2*pi
producto
-pi pi 5*pi 3*pi ----*--*----*---- 2 6 6 2
=
4 -5*pi ------ 48
-5*pi^4/48
x1 = 96.8657734856853
x2 = -100.007366139275
x3 = 52.8834763354282
x4 = 92.6769826185806
x5 = -91.6297857297023
x6 = -64.4026491963026
x7 = -87.4409955249159
x8 = 8.90117918517108
x9 = -49.7418836818384
x10 = 10.995574056153
x11 = 48.6946859325274
x12 = -68.5914396033772
x13 = -60.2138591938044
x14 = -53.9306738866248
x15 = -62.3082542961976
x16 = -7.85398149924071
x17 = -1.57079642893127
x18 = 34.0339204138894
x19 = 23.5619451122289
x20 = -12.0427718387609
x21 = 0.523598775598299
x22 = -76.9690201780717
x23 = -14.1371668400256
x24 = 94.7713783832921
x25 = -32.9867230405965
x26 = 75.9218224617533
x27 = -51.8362786898924
x28 = 90.5825881785057
x29 = 71.733032256967
x30 = -83.2522055292846
x31 = 63.3554518473942
x32 = 92.6769830871924
x33 = 38.2227106186758
x34 = -3.66519142918809
x35 = 31.9395253114962
x36 = 10.9955740992967
x37 = 4.71238877821279
x38 = -85.3466004225227
x39 = -95.8185758681551
x40 = -76.9690204511548
x41 = -76.9690198122422
x42 = -95.8185760435073
x43 = -79.0634151153431
x44 = -18.3259571459405
x45 = 44.5058959258554
x46 = -89.5353907455655
x47 = 98.9601683847854
x48 = 82.2050077689329
x49 = -32.98672341235
x50 = 84.2994028713261
x51 = -16.2315620435473
x52 = 67.5442422659503
x53 = -35.081117965086
x54 = 25.6563400043166
x55 = -22.5147473507269
x56 = -5.75958653158129
x57 = -39.2699083757319
x58 = 17.2787597959772
x59 = -26.7035373476123
x60 = -41.3643032722656
x61 = 73.8274274783337
x62 = 40.317105721069
x63 = 86.393797888715
x64 = 46.6002910282486
x65 = 69.6386371545737
x66 = 19.3731546971371
x67 = 2.61799387799149
x68 = 36.1283159916529
x69 = -58.1194639999037
x70 = -43.4586983746588
x71 = 27.7507351067098
x72 = 80.1106131458253
x73 = -93.7241808320955
x74 = 88.4881930761125
x75 = -45.5530935873709
x76 = -70.6858344924983
x77 = -20.4203520418601
x78 = 78.0162175641465
x79 = -97.9129710368819
x80 = -9.94837673636768
x81 = 42.4115007297604
x82 = -56.025068989018
x83 = -47.6474885794452
x84 = 29.8451303193672
x85 = -66.497044500984
x86 = 61.2610569380464
x87 = -24.60914245312
x88 = 54.9778712411975
x88 = 54.9778712411975