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/5) * (-2) = -3/5
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
suma
____ ____ 5 I*\/ 15 5 I*\/ 15 - - - -------- + - - + -------- 2 2 2 2
=
-5
producto
/ ____\ / ____\ | 5 I*\/ 15 | | 5 I*\/ 15 | |- - - --------|*|- - + --------| \ 2 2 / \ 2 2 /
=
10
10
____ 5 I*\/ 15 x1 = - - - -------- 2 2
____ 5 I*\/ 15 x2 = - - + -------- 2 2
x2 = -5/2 + sqrt(15)*i/2
x1 = -2.5 - 1.93649167310371*i
x2 = -2.5 + 1.93649167310371*i
x2 = -2.5 + 1.93649167310371*i