El profesor se sorprenderá mucho al ver tu solución correcta😉
sin(pi*x) x ---------*x + 1 = - - + 1 2 2
x1 = -1/2
x2 = 0
x3 = 3/2
x3 = 3/2
suma
-1/2 + 3/2
=
1
producto
0*(-1) ------*3 2 -------- 2
=
0
0
x1 = -2.50000000775865
x2 = 1.50000023746185
x3 = 7.50000016515642
x4 = -22.4999998676925
x5 = -26.4999998662821
x6 = -18.4999998697439
x7 = 3.50000018846451
x8 = -28.4999998657301
x9 = 19.5000001510095
x10 = -10.4999998789968
x11 = 9.5000001604724
x12 = -20.4999998686135
x13 = 21.5000001501408
x14 = -14.4999998730038
x15 = 0.0
x16 = 17.5000001520691
x17 = 11.5000001573346
x18 = -24.4999998669276
x19 = 15.5000001533903
x20 = -6.49999989376303
x21 = 5.50000017292583
x22 = -8.49999988439237
x23 = 13.5000001550841
x24 = -4.49999991438619
x25 = -12.4999998754802
x26 = -16.4999998711644
x26 = -16.4999998711644