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