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 * (2) * (1) = -7
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
suma
___ ___ 1 I*\/ 7 1 I*\/ 7 - - ------- + - + ------- 4 4 4 4
=
1/2
producto
/ ___\ / ___\ |1 I*\/ 7 | |1 I*\/ 7 | |- - -------|*|- + -------| \4 4 / \4 4 /
=
1/2
1/2
___ 1 I*\/ 7 x1 = - - ------- 4 4
___ 1 I*\/ 7 x2 = - + ------- 4 4
x2 = 1/4 + sqrt(7)*i/4
x1 = 0.25 - 0.661437827766148*i
x2 = 0.25 + 0.661437827766148*i
x2 = 0.25 + 0.661437827766148*i