El profesor se sorprenderá mucho al ver tu solución correcta😉
(cos(x) - 1/2)*(sin(x) + 1) = 0
-pi x1 = ---- 2
-pi x2 = ---- 3
pi x3 = -- 3
x3 = pi/3
suma
pi pi pi - -- - -- + -- 2 3 3
=
-pi ---- 2
producto
-pi -pi pi ----*----*-- 2 3 3
=
3 pi --- 18
pi^3/18
x1 = 4.71238854801647
x2 = 32.4631240870945
x3 = 92.6769828868336
x4 = 49.2182849062401
x5 = -42.9350995990605
x6 = -124.616508592395
x7 = -1.57079647311609
x8 = -76.9690204641089
x9 = 82.7286065445312
x10 = 38.7463093942741
x11 = -39.269908621539
x12 = -89.0117918517108
x13 = -51.3126800086333
x14 = 63.8790506229925
x15 = -76.4454212373516
x16 = 80.110612844583
x17 = -63.8790506229925
x18 = -64.4026504721341
x19 = 13.6135681655558
x20 = 93.2005820564972
x21 = -82.7286065445312
x22 = 30.3687289847013
x23 = 36.6519142918809
x24 = -32.9867236214749
x25 = -32.4631240870945
x26 = 17.8023583703422
x27 = 45.0294947014537
x28 = 54.9778707159814
x29 = -14.1371669598054
x30 = -86.9173967493176
x31 = -45.5530933716207
x32 = -19.8967534727354
x33 = 24.0855436775217
x34 = -26.703538562143
x35 = 7.33038285837618
x36 = 73.8274266049347
x37 = -1.0471975511966
x38 = -58.1194640731511
x39 = -1.57079623121279
x40 = -74.3510261349584
x41 = 54.9778715773626
x42 = -17.8023583703422
x43 = 67.5442409655155
x44 = -36.6519142918809
x45 = -7.85398156319709
x46 = 23.5619438180309
x47 = -70.6858357236981
x48 = 42.4115006929457
x49 = -24.0855436775217
x50 = 99.4837673636768
x51 = 26.1799387799149
x52 = 48.6946857174794
x53 = -58.1194646655357
x54 = -14.1371676424729
x55 = 19.8967534727354
x56 = -26.1799387799149
x57 = 86.3937978587054
x58 = -83.2522057911706
x59 = 57.5958653158129
x60 = 61.2610557628571
x61 = 1.0471975511966
x62 = -20.4203533278915
x63 = -45.5530938823704
x64 = -38.7463093942741
x65 = -55.5014702134197
x66 = -99.4837673636768
x67 = 51.3126800086333
x68 = -89.5353908061219
x69 = 17.2787586000533
x70 = 61.7846555205993
x71 = 86.3937977204852
x72 = -70.162235930172
x73 = -14.1371675819375
x74 = -61.7846555205993
x75 = -51.8362787216137
x76 = 98.9601678849918
x77 = 11.5191730631626
x78 = -7.33038285837618
x79 = -95.2949771588904
x80 = -45.5530936394744
x81 = -68.0678408277789
x82 = 73.8274272001203
x83 = 10.9955735471523
x84 = 80.634211442138
x85 = 95.2949771588904
x86 = -30.3687289847013
x87 = 5.23598775598299
x88 = -95.8185758842171
x89 = 36.128315422863
x90 = -11.5191730631626
x91 = 76.4454212373516
x92 = -80.634211442138
x93 = 55.5014702134197
x94 = 68.0678408277789
x95 = 29.845130023625
x96 = 29.8451295083641
x97 = -76.9690207898792
x98 = 42.4115007846267
x99 = 70.162235930172
x99 = 70.162235930172