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