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