El profesor se sorprenderá mucho al ver tu solución correcta😉
/x\ cos(x) + 1 = 2*cos|-| \2/
x1 = 0
x2 = -pi
x3 = pi
x3 = pi
suma
-pi + pi
=
0
producto
0*(-pi)*pi
=
0
0
x1 = -25.1327408560625
x2 = 100.530964761509
x3 = 72.2566310325652
x4 = -62.8318527127185
x5 = -59.6902604182061
x6 = -87.9645934570466
x7 = 12.5663704449615
x8 = 3.14159265358979
x9 = 87.9645944088954
x10 = 12.566370803741
x11 = -25.1327415157014
x12 = 28.2743338823081
x13 = -75.398223449493
x14 = 65.9734457253857
x15 = -9.42477796076938
x16 = 40.8407044966673
x17 = 5.65128337777279e-7
x18 = 62.8318527967639
x19 = -50.2654822886107
x20 = -50.2654828534335
x21 = -75.3982238711374
x22 = -37.6991117237943
x23 = -3.14159265358979
x24 = 50.2654824463412
x25 = -62.8318534326663
x26 = 37.6991120281288
x27 = -15.707963267949
x28 = 59.6902604182061
x29 = -7115.70736038088
x30 = -50.2654825512886
x31 = 9.42477796076938
x32 = -15092.2111080766
x33 = -53.4070751110265
x34 = -47.1238898038469
x35 = -84.8230016469244
x36 = 21.9911485751286
x37 = 75.398223320477
x38 = 12.5663711440731
x39 = -72.2566310325652
x40 = 87.9645943358683
x41 = 0.0
x42 = -37.6991118772353
x43 = -21.9911485751286
x44 = -65.9734457253857
x45 = 62.8318534384857
x46 = -37.699112207722
x47 = 34.5575191894877
x48 = 53.4070751110265
x49 = 62.8318529942854
x50 = -28.2743338823081
x51 = 15.707963267949
x52 = -91.106186954104
x53 = 47.1238898038469
x54 = 75.3982239868495
x55 = -100.530964637817
x56 = 97.3893722612836
x57 = 25.1327408734344
x58 = -87.9645943586551
x59 = 37.6991116788082
x60 = 25.1327415937926
x61 = 78.5398163397448
x62 = -12.5663703251897
x63 = 100.5309635361
x64 = -12.5663709739477
x65 = -78.5398163397448
x66 = -40.8407044966673
x67 = -97.3893722612836
x68 = 50.2654820744793
x69 = 84.8230016469244
x70 = 91.106186954104
x71 = -34.5575191894877
x71 = -34.5575191894877