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 * (2) * (5) = -31
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
suma
____ ____ 3 I*\/ 31 3 I*\/ 31 - - -------- + - + -------- 4 4 4 4
=
3/2
producto
/ ____\ / ____\ |3 I*\/ 31 | |3 I*\/ 31 | |- - --------|*|- + --------| \4 4 / \4 4 /
=
5/2
5/2
____ 3 I*\/ 31 x1 = - - -------- 4 4
____ 3 I*\/ 31 x2 = - + -------- 4 4
x2 = 3/4 + sqrt(31)*i/4
x1 = 0.75 + 1.39194109070751*i
x2 = 0.75 - 1.39194109070751*i
x2 = 0.75 - 1.39194109070751*i