The teacher will be very surprised to see your correct solution 😉
a*x^2 + b*x + c = 0
D = b^2 - 4 * a * c =
(6)^2 - 4 * (1) * (19) = -40
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
sum
____ ____ -3 - I*\/ 10 + -3 + I*\/ 10
=
-6
product
/ ____\ / ____\ \-3 - I*\/ 10 /*\-3 + I*\/ 10 /
=
19
19
____ x1 = -3 - I*\/ 10
____ x2 = -3 + I*\/ 10
x2 = -3 + sqrt(10)*i
x1 = -3.0 + 3.16227766016838*i
x2 = -3.0 - 3.16227766016838*i
x2 = -3.0 - 3.16227766016838*i