El profesor se sorprenderá mucho al ver tu solución correcta😉
a*v^2 + b*v + c = 0
D = b^2 - 4 * a * c =
(-4)^2 - 4 * (1) * (-12) = 64
v1 = (-b + sqrt(D)) / (2*a)
v2 = (-b - sqrt(D)) / (2*a)
x1 = 1
log(2) pi*I x2 = ------ + ------ log(6) log(6)
x2 = log(2)/log(6) + i*pi/log(6)
suma
log(2) pi*I 1 + ------ + ------ log(6) log(6)
=
log(2) pi*I 1 + ------ + ------ log(6) log(6)
producto
log(2) pi*I ------ + ------ log(6) log(6)
=
pi*I + log(2) ------------- log(6)
(pi*i + log(2))/log(6)
x1 = 1.0
x2 = 0.386852807234542 + 1.75335624426379*i
x2 = 0.386852807234542 + 1.75335624426379*i