El profesor se sorprenderá mucho al ver tu solución correcta😉
a*w^2 + b*w + c = 0
D = b^2 - 4 * a * c =
(0)^2 - 4 * (1) * (-4) = 16
w1 = (-b + sqrt(D)) / (2*a)
w2 = (-b - sqrt(D)) / (2*a)
re(acos(-2)) 2*pi I*im(acos(-2)) x1 = - ------------ + ---- - -------------- 5 5 5
2*pi I*im(acos(2)) x2 = ---- - ------------- 5 5
re(acos(-2)) I*im(acos(-2)) x3 = ------------ + -------------- 5 5
I*im(acos(2)) x4 = ------------- 5
x4 = i*im(acos(2))/5
suma
re(acos(-2)) 2*pi I*im(acos(-2)) 2*pi I*im(acos(2)) re(acos(-2)) I*im(acos(-2)) I*im(acos(2)) - ------------ + ---- - -------------- + ---- - ------------- + ------------ + -------------- + ------------- 5 5 5 5 5 5 5 5
=
4*pi ---- 5
producto
/ re(acos(-2)) 2*pi I*im(acos(-2))\ /2*pi I*im(acos(2))\ /re(acos(-2)) I*im(acos(-2))\ I*im(acos(2)) |- ------------ + ---- - --------------|*|---- - -------------|*|------------ + --------------|*------------- \ 5 5 5 / \ 5 5 / \ 5 5 / 5
=
-I*(2*pi - I*im(acos(2)))*(I*im(acos(-2)) + re(acos(-2)))*(-2*pi + I*im(acos(-2)) + re(acos(-2)))*im(acos(2)) -------------------------------------------------------------------------------------------------------------- 625
-i*(2*pi - i*im(acos(2)))*(i*im(acos(-2)) + re(acos(-2)))*(-2*pi + i*im(acos(-2)) + re(acos(-2)))*im(acos(2))/625
x1 = 0.628318530717959 + 0.263391579384963*i
x2 = 1.25663706143592 - 0.263391579384963*i
x3 = 0.628318530717959 - 0.263391579384963*i
x4 = 0.263391579384963*i
x4 = 0.263391579384963*i