El profesor se sorprenderá mucho al ver tu solución correcta😉
5 4 3 2 x + 2*x + 5*x + 8*x - 7*x - 3 = 0
x1 = -2.07299389874442
x2 = -0.328038079810926
x3 = 0.789295551388694
x4 = -0.194131786416673 - 2.35619125438432*I
x5 = -0.194131786416673 + 2.35619125438432*I
x5 = -0.194131786416673 + 2.35619125438432*i
suma
-2.07299389874442 - 0.328038079810926 + 0.789295551388694 + -0.194131786416673 - 2.35619125438432*I + -0.194131786416673 + 2.35619125438432*I
=
-2.00000000000000
producto
-2.07299389874442*-0.328038079810926*0.789295551388694*(-0.194131786416673 - 2.35619125438432*I)*(-0.194131786416673 + 2.35619125438432*I)
=
3.0 - 2.77555756156289e-17*I
3.0 - 2.77555756156289e-17*i
x1 = -2.07299389874442
x2 = -0.328038079810926
x3 = -0.194131786416673 + 2.35619125438432*i
x4 = -0.194131786416673 - 2.35619125438432*i
x5 = 0.789295551388694
x5 = 0.789295551388694