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