El profesor se sorprenderá mucho al ver tu solución correcta😉
a*x^2 + b*x + c = 0
D = b^2 - 4 * a * c =
(0)^2 - 4 * (2) * (1) = -8
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
___ -I*\/ 2 x1 = --------- 2
___ I*\/ 2 x2 = ------- 2
x2 = sqrt(2)*i/2
suma
___ ___ I*\/ 2 I*\/ 2 - ------- + ------- 2 2
=
0
producto
___ ___ -I*\/ 2 I*\/ 2 ---------*------- 2 2
=
1/2
1/2
x1 = -0.707106781186548*i
x2 = 0.707106781186548*i
x2 = 0.707106781186548*i