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