El profesor se sorprenderá mucho al ver tu solución correcta😉
cos(2*x) - cos(x) = 0
a*w^2 + b*w + c = 0
D = b^2 - 4 * a * c =
(-1)^2 - 4 * (2) * (-1) = 9
w1 = (-b + sqrt(D)) / (2*a)
w2 = (-b - sqrt(D)) / (2*a)
suma
4*pi 2*pi 2*pi 4*pi - ---- - ---- + ---- + ---- + 2*pi 3 3 3 3
=
2*pi
producto
-4*pi -2*pi 2*pi 4*pi 0*-----*-----*----*----*2*pi 3 3 3 3
=
0
0
x1 = 0
-4*pi x2 = ----- 3
-2*pi x3 = ----- 3
2*pi x4 = ---- 3
4*pi x5 = ---- 3
x6 = 2*pi
x6 = 2*pi
x1 = -31.4159267013407
x2 = 37.6991120149696
x3 = 35.6047167406843
x4 = -75.3982238575994
x5 = -69.11503909537
x6 = 25.1327417460082
x7 = -35.6047167406843
x8 = -73.3038285837618
x9 = -18.8495558711096
x10 = -18.8495558410301
x11 = -27.2271363311115
x12 = 92.1533845053006
x13 = -52.3598775598299
x14 = 81.6814091712551
x15 = 90.0589894029074
x16 = -33.5103216382911
x17 = 4.18879020478639
x18 = -77.4926187885482
x19 = 83.7758040957278
x20 = 8.37758040957278
x21 = -43.9822971745925
x22 = -62.8318537995483
x23 = -62.8318529623378
x24 = 75.3982239117447
x25 = 69.1150383295746
x26 = 25.1327411125589
x27 = -71.2094334813686
x28 = 2.0943951023932
x29 = -94.2477794556977
x30 = -96.342174710087
x31 = 69.115037832119
x32 = -8.37758040957278
x33 = -25.1327414474833
x34 = 69.1150384283402
x35 = 31.4159267619367
x36 = 54.4542726622231
x37 = -6.28318514161788
x38 = -100.530964690899
x39 = -56.5486675394273
x40 = 50.2654824463501
x41 = 14.6607657167524
x42 = 94.2477796093525
x43 = 62.8318528532238
x44 = 25.13274122338
x45 = 16.7551608191456
x46 = 48.1710873550435
x47 = -37.6991118771132
x48 = 52.3598775598299
x49 = -46.0766922526503
x50 = -54.4542726622231
x51 = -62.8318529503654
x52 = 79.5870138909414
x53 = 12.5663704551863
x54 = 0.0
x55 = 58.6430628670095
x56 = -69.1150385967809
x57 = 41.8879020478639
x58 = 10.471975511966
x59 = -92.1533845053006
x60 = 96.342174710087
x61 = -12.5663703884691
x62 = -29.3215314335047
x63 = -48.1710873550435
x64 = -2.0943951023932
x65 = 60.7374579694027
x66 = -18.8495558006412
x67 = 98.4365698124802
x68 = 100.530964769014
x69 = 85.870199198121
x70 = -87.9645943588266
x71 = 56.5486676119735
x72 = 39.7935069454707
x73 = 43.9822971694142
x74 = -85.870199198121
x75 = 69.1150383780256
x76 = 25.1327412731354
x77 = 87.9645943357073
x78 = -79.5870138909414
x79 = -18.8495555012277
x80 = 77.4926187885482
x81 = -10.471975511966
x82 = 33.5103216382911
x83 = -39.7935069454707
x84 = 18.8495557025416
x85 = -41.8879020478639
x86 = -4.18879020478639
x87 = 46.0766922526503
x88 = 6.28318528426584
x89 = -81.6814090379303
x90 = -98.4365698124802
x91 = -90.0589894029074
x92 = 12.5663700882745
x93 = 43.9822969706241
x94 = -83.7758040957278
x95 = -50.2654822985064
x95 = -50.2654822985064