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