El profesor se sorprenderá mucho al ver tu solución correcta😉
5 4 3 2 7*x - 2*x + 5*x - x + 3*x - 24 = 0
suma
1.19912129267977 + -0.899038518798097 - 0.845658598869725*I + -0.899038518798097 + 0.845658598869725*I + 0.442335015315355 - 1.29661381422863*I + 0.442335015315355 + 1.29661381422863*I
=
0.285714285714286
producto
1.19912129267977*(-0.899038518798097 - 0.845658598869725*I)*(-0.899038518798097 + 0.845658598869725*I)*(0.442335015315355 - 1.29661381422863*I)*(0.442335015315355 + 1.29661381422863*I)
=
3.42857142857143
3.42857142857143
x1 = 1.19912129267977
x2 = -0.899038518798097 - 0.845658598869725*I
x3 = -0.899038518798097 + 0.845658598869725*I
x4 = 0.442335015315355 - 1.29661381422863*I
x5 = 0.442335015315355 + 1.29661381422863*I
x5 = 0.442335015315355 + 1.29661381422863*i
x1 = -0.899038518798097 - 0.845658598869725*i
x2 = 0.442335015315355 - 1.29661381422863*i
x3 = -0.899038518798097 + 0.845658598869725*i
x4 = 0.442335015315355 + 1.29661381422863*i
x5 = 1.19912129267977
x5 = 1.19912129267977