El profesor se sorprenderá mucho al ver tu solución correcta😉
a*x^2 + b*x + c = 0
D = b^2 - 4 * a * c =
(3)^2 - 4 * (5) * (2) = -31
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
____ 3 I*\/ 31 x1 = - -- - -------- 10 10
____ 3 I*\/ 31 x2 = - -- + -------- 10 10
x2 = -3/10 + sqrt(31)*i/10
suma
____ ____ 3 I*\/ 31 3 I*\/ 31 - -- - -------- + - -- + -------- 10 10 10 10
=
-3/5
producto
/ ____\ / ____\ | 3 I*\/ 31 | | 3 I*\/ 31 | |- -- - --------|*|- -- + --------| \ 10 10 / \ 10 10 /
=
2/5
2/5
x1 = -0.3 + 0.556776436283002*i
x2 = -0.3 - 0.556776436283002*i
x2 = -0.3 - 0.556776436283002*i