El profesor se sorprenderá mucho al ver tu solución correcta😉
2 - 2*cos (x) - 7*cos(x) - 3 = 0
a*w^2 + b*w + c = 0
D = b^2 - 4 * a * c =
(-7)^2 - 4 * (-2) * (-3) = 25
w1 = (-b + sqrt(D)) / (2*a)
w2 = (-b - sqrt(D)) / (2*a)
suma
2*pi 4*pi ---- + ---- + -re(acos(-3)) + 2*pi - I*im(acos(-3)) + I*im(acos(-3)) + re(acos(-3)) 3 3
=
4*pi
producto
2*pi 4*pi ----*----*(-re(acos(-3)) + 2*pi - I*im(acos(-3)))*(I*im(acos(-3)) + re(acos(-3))) 3 3
=
2 -8*pi *(I*im(acos(-3)) + re(acos(-3)))*(-2*pi + I*im(acos(-3)) + re(acos(-3))) ------------------------------------------------------------------------------ 9
-8*pi^2*(i*im(acos(-3)) + re(acos(-3)))*(-2*pi + i*im(acos(-3)) + re(acos(-3)))/9
2*pi x1 = ---- 3
4*pi x2 = ---- 3
x3 = -re(acos(-3)) + 2*pi - I*im(acos(-3))
x4 = I*im(acos(-3)) + re(acos(-3))
x4 = re(acos(-3)) + i*im(acos(-3))
x1 = 167.551608191456
x2 = -29.3215314335047
x3 = 79.5870138909414
x4 = 16.7551608191456
x5 = 67.0206432765823
x6 = -58.6430628670095
x7 = 27.2271363311115
x8 = -4.18879020478639
x9 = -85.870199198121
x10 = -67.0206432765823
x11 = 9818.5242400193
x12 = 54.4542726622231
x13 = 71.2094334813686
x14 = 52.3598775598299
x15 = -60.7374579694027
x16 = 10.471975511966
x17 = 83.7758040957278
x18 = 58.6430628670095
x19 = -73.3038285837618
x20 = -20.943951023932
x21 = 77.4926187885482
x22 = -79.5870138909414
x23 = -48.1710873550435
x24 = -8.37758040957278
x25 = 85.870199198121
x26 = -11992.5063563034
x27 = -33.5103216382911
x28 = 20.943951023932
x29 = -10.471975511966
x30 = 2.0943951023932
x31 = 96.342174710087
x32 = 33.5103216382911
x33 = -96.342174710087
x34 = -90.0589894029074
x35 = 60.7374579694027
x36 = -14.6607657167524
x37 = 39.7935069454707
x38 = -23.0383461263252
x39 = 4.18879020478639
x40 = 64.9262481741891
x41 = 90.0589894029074
x42 = 8.37758040957278
x43 = 46.0766922526503
x44 = -92.1533845053006
x45 = -2.0943951023932
x46 = 35.6047167406843
x47 = -362.330352714023
x48 = 98.4365698124802
x49 = 23.0383461263252
x50 = -46.0766922526503
x51 = -83.7758040957278
x52 = -52.3598775598299
x53 = 29.3215314335047
x54 = -27.2271363311115
x55 = 41.8879020478639
x56 = -54.4542726622231
x57 = -64.9262481741891
x58 = 92.1533845053006
x59 = -16.7551608191456
x60 = -39.7935069454707
x61 = 48.1710873550435
x62 = -35.6047167406843
x63 = 14.6607657167524
x64 = -41.8879020478639
x65 = -77.4926187885482
x66 = 73.3038285837618
x67 = -98.4365698124802
x68 = -71.2094334813686
x68 = -71.2094334813686