El profesor se sorprenderá mucho al ver tu solución correcta😉
a*x^2 + b*x + c = 0
D = b^2 - 4 * a * c =
(-1)^2 - 4 * (-1) * (-28) = -111
x2 = (-b + sqrt(D)) / (2*a)
x3 = (-b - sqrt(D)) / (2*a)
x1 = 0
_____ 1 I*\/ 111 x2 = - - - --------- 2 2
_____ 1 I*\/ 111 x3 = - - + --------- 2 2
x3 = -1/2 + sqrt(111)*i/2
suma
_____ _____ 1 I*\/ 111 1 I*\/ 111 - - - --------- + - - + --------- 2 2 2 2
=
-1
producto
/ _____\ / _____\ | 1 I*\/ 111 | | 1 I*\/ 111 | 0*|- - - ---------|*|- - + ---------| \ 2 2 / \ 2 2 /
=
0
0
x1 = -0.5 + 5.26782687642637*i
x2 = -0.5 - 5.26782687642637*i
x3 = 0.0
x3 = 0.0