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 * (-3) * (-70) = -740
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
_____
5 I*\/ 185
x1 = - - - ---------
3 3
_____
5 I*\/ 185
x2 = - - + ---------
3 3
x2 = -5/3 + sqrt(185)*i/3
sum
_____ _____ 5 I*\/ 185 5 I*\/ 185 - - - --------- + - - + --------- 3 3 3 3
=
-10/3
product
/ _____\ / _____\ | 5 I*\/ 185 | | 5 I*\/ 185 | |- - - ---------|*|- - + ---------| \ 3 3 / \ 3 3 /
=
70/3
70/3
x1 = -1.66666666666667 + 4.53382350291181*i
x2 = -1.66666666666667 - 4.53382350291181*i
x2 = -1.66666666666667 - 4.53382350291181*i