El profesor se sorprenderá mucho al ver tu solución correcta😉
a*v^2 + b*v + c = 0
D = b^2 - 4 * a * c =
(-7)^2 - 4 * (1) * (-8) = 81
v1 = (-b + sqrt(D)) / (2*a)
v2 = (-b - sqrt(D)) / (2*a)
x1 = -1
x2 = 2
___ x3 = -1 - I*\/ 3
___ x4 = -1 + I*\/ 3
___ 1 I*\/ 3 x5 = - - ------- 2 2
___ 1 I*\/ 3 x6 = - + ------- 2 2
x6 = 1/2 + sqrt(3)*i/2
suma
___ ___ ___ ___ 1 I*\/ 3 1 I*\/ 3 -1 + 2 + -1 - I*\/ 3 + -1 + I*\/ 3 + - - ------- + - + ------- 2 2 2 2
=
0
producto
/ ___\ / ___\ / ___\ / ___\ |1 I*\/ 3 | |1 I*\/ 3 | -2*\-1 - I*\/ 3 /*\-1 + I*\/ 3 /*|- - -------|*|- + -------| \2 2 / \2 2 /
=
-8
-8
x1 = 2.0
x2 = -1.0 - 1.73205080756888*i
x3 = -1.0 + 1.73205080756888*i
x4 = 0.5 - 0.866025403784439*i
x5 = 0.5 + 0.866025403784439*i
x6 = -1.0
x6 = -1.0