The teacher will be very surprised to see your correct solution 😉
a*x^2 + b*x + c = 0
D = b^2 - 4 * a * c =
(-10)^2 - 4 * (-12) * (-9) = -332
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
____ 5 I*\/ 83 x1 = - -- - -------- 12 12
____ 5 I*\/ 83 x2 = - -- + -------- 12 12
x2 = -5/12 + sqrt(83)*i/12
sum
____ ____ 5 I*\/ 83 5 I*\/ 83 - -- - -------- + - -- + -------- 12 12 12 12
=
-5/6
product
/ ____\ / ____\ | 5 I*\/ 83 | | 5 I*\/ 83 | |- -- - --------|*|- -- + --------| \ 12 12 / \ 12 12 /
=
3/4
3/4
x1 = -0.416666666666667 - 0.759202798262025*i
x2 = -0.416666666666667 + 0.759202798262025*i
x2 = -0.416666666666667 + 0.759202798262025*i