El profesor se sorprenderá mucho al ver tu solución correcta😉
3*cos(2*x) + cos(x) - 4 = 0
a*w^2 + b*w + c = 0
D = b^2 - 4 * a * c =
(1)^2 - 4 * (6) * (-5) = 121
w1 = (-b + sqrt(D)) / (2*a)
w2 = (-b - sqrt(D)) / (2*a)
x1 = 0
/ ____\ |7 \/ 13 | x2 = pi + I*log|- - ------| \6 6 /
/ ____\ |7 \/ 13 | x3 = pi + I*log|- + ------| \6 6 /
x3 = pi + i*log(sqrt(13)/6 + 7/6)
suma
/ ____\ / ____\ |7 \/ 13 | |7 \/ 13 | pi + I*log|- - ------| + pi + I*log|- + ------| \6 6 / \6 6 /
=
/ ____\ / ____\ |7 \/ 13 | |7 \/ 13 | 2*pi + I*log|- - ------| + I*log|- + ------| \6 6 / \6 6 /
producto
/ / ____\\ / / ____\\ | |7 \/ 13 || | |7 \/ 13 || 0*|pi + I*log|- - ------||*|pi + I*log|- + ------|| \ \6 6 // \ \6 6 //
=
0
0
x1 = 18.8495556748901
x2 = -62.8318528192025
x3 = -37.6991118771601
x4 = 87.9645943357691
x5 = -12.5663702112782
x6 = 100.530964766054
x7 = -87.9645943759068
x8 = 25.132741471072
x9 = -25.1327413703358
x10 = 69.1150381381372
x11 = -62.8318532907913
x12 = -69.1150386310748
x13 = -50.2654822946212
x14 = 18.8495557023389
x15 = 56.5486676084927
x16 = -56.5486675148031
x17 = -18.8495557368747
x18 = -31.4159267060472
x19 = 75.3982239445512
x20 = 25.1327409939176
x21 = 0.0
x22 = 94.2477796093524
x23 = -75.3982238630204
x24 = -6.28318513710845
x25 = -69.1150384554896
x26 = 31.4159267917545
x27 = 62.8318528283756
x28 = -320.442451006313
x29 = -94.2477794523777
x30 = 81.6814091772056
x31 = -18.8495556736075
x32 = -25.1327414782656
x33 = 37.6991120201661
x34 = -87.9645943587609
x35 = 69.1150386147231
x36 = 12.5663704511249
x37 = 62.831852761042
x38 = 31.4159268347111
x39 = 43.9822971694299
x40 = -81.6814090380234
x41 = -12.5663703613676
x42 = -100.530964698576
x43 = -43.9822971745758
x44 = -18.849556149113
x45 = 50.2654824463467
x46 = -100.530964668541
x47 = 6.28318528424792
x48 = 75.3982238949822
x48 = 75.3982238949822