The teacher will be very surprised to see your correct solution 😉
a*x^2 + b*x + c = 0
D = b^2 - 4 * a * c =
(2)^2 - 4 * (9) * (7) = -248
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
____
1 I*\/ 62
x1 = - - - --------
9 9
____
1 I*\/ 62
x2 = - - + --------
9 9
x2 = -1/9 + sqrt(62)*i/9
sum
____ ____ 1 I*\/ 62 1 I*\/ 62 - - - -------- + - - + -------- 9 9 9 9
=
-2/9
product
/ ____\ / ____\ | 1 I*\/ 62 | | 1 I*\/ 62 | |- - - --------|*|- - + --------| \ 9 9 / \ 9 9 /
=
7/9
7/9
x1 = -0.111111111111111 + 0.87488976377909*i
x2 = -0.111111111111111 - 0.87488976377909*i
x2 = -0.111111111111111 - 0.87488976377909*i