El profesor se sorprenderá mucho al ver tu solución correcta😉
2 2 sin (x) - cos (x) = 1
a*w^2 + b*w + c = 0
D = b^2 - 4 * a * c =
(0)^2 - 4 * (2) * (-2) = 16
w1 = (-b + sqrt(D)) / (2*a)
w2 = (-b - sqrt(D)) / (2*a)
-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 = -1.57079642969308
x2 = 10.9955740392793
x3 = 36.1283156002139
x4 = -48.6946858738636
x5 = -26.7035372990183
x6 = -67.5442421675773
x7 = -61.2610569641117
x8 = -76.9690198771149
x9 = 61.2610569989704
x10 = 45.553093700501
x11 = -4.71238872430683
x12 = 92.6769830795146
x13 = -61.2610562242523
x14 = -80.1106125795659
x15 = -36.1283154192437
x16 = -54.9778713137198
x17 = 17.2787595624179
x18 = 17.2787598502655
x19 = 98.9601683381274
x20 = 29.845130320338
x21 = 14.1371671048484
x22 = 32.9867226137576
x23 = -70.685834448838
x24 = 73.8274274795554
x25 = -54.9778716831146
x26 = 10.9955743696636
x27 = 26.7035373461441
x28 = -92.6769831823972
x29 = 4.71238876848081
x30 = -51.8362786897497
x31 = -39.2699083866483
x32 = -98.96016883042
x33 = 95.8185760590309
x34 = 39.2699081179815
x35 = -95.8185758681287
x36 = 541.924732890135
x37 = 32.986722928111
x38 = 58.1194644379895
x39 = -92.6769830239371
x40 = -83.2522055415057
x41 = -42.4115006098842
x42 = -29.8451300963672
x43 = -14.1371668392726
x44 = 67.5442422779275
x45 = 1.5707965454425
x46 = -39.2699081528781
x47 = -70.6858346386357
x48 = -98.9601684414698
x49 = -20.4203520321877
x50 = 98.9601685932308
x51 = 64.4026493086922
x52 = 54.9778711883962
x53 = 20.4203521497111
x54 = -17.2787598091171
x55 = -17.2787590276524
x56 = 76.9690207492347
x57 = -64.4026491876462
x58 = 23.5619451230057
x59 = 48.6946859238715
x60 = -32.9867231091652
x61 = -32.9867227513827
x62 = -7.85398149857354
x63 = 80.1106131434937
x64 = -86.393797765473
x65 = -26.7035375427973
x66 = 23.5619449395428
x67 = -98.960168684456
x68 = 89.5353908552844
x69 = -76.9690202568697
x70 = -45.5530935883361
x71 = 70.6858345016621
x72 = 39.2699084246933
x73 = 76.9690200400775
x74 = 76.9690197631883
x75 = 54.9778714849733
x76 = 83.2522052340866
x77 = -23.5619450090417
x78 = -10.9955745350309
x79 = 61.2610566752601
x80 = -48.6946860920117
x81 = -89.5353907467661
x82 = 42.4115007291722
x83 = 80.1106126771746
x84 = -73.8274272800405
x85 = 51.8362788999928
x86 = -58.1194639993376
x87 = 86.393797888273
x88 = -4.7123889912442
x89 = 7.85398174058521
x90 = -10.9955741902138
x91 = 83.2522055730903
x91 = 83.2522055730903