El profesor se sorprenderá mucho al ver tu solución correcta😉
a*x^2 + b*x + c = 0
D = b^2 - 4 * a * c =
(-4)^2 - 4 * (2) * (17) = -120
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
____ I*\/ 30 x1 = 1 - -------- 2
____ I*\/ 30 x2 = 1 + -------- 2
x2 = 1 + sqrt(30)*i/2
suma
____ ____ I*\/ 30 I*\/ 30 1 - -------- + 1 + -------- 2 2
=
2
producto
/ ____\ / ____\ | I*\/ 30 | | I*\/ 30 | |1 - --------|*|1 + --------| \ 2 / \ 2 /
=
17/2
17/2
x1 = 1.0 - 2.73861278752583*i
x2 = 1.0 + 2.73861278752583*i
x2 = 1.0 + 2.73861278752583*i