Найду корень уравнения: cos2x+cosx=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)
-5*pi x1 = ----- 3
x2 = -pi
-pi x3 = ---- 3
pi x4 = -- 3
x5 = pi
5*pi x6 = ---- 3
сумма
5*pi pi pi 5*pi 0 - ---- - pi - -- + -- + pi + ---- 3 3 3 3
=
0
произведение
-5*pi -pi pi 5*pi 1*-----*-pi*----*--*pi*---- 3 3 3 3
=
6 -25*pi ------- 81
x1 = 63.8790506229925
x2 = -21.9911485864549
x3 = 3.14159276530697
x4 = 70.162235930172
x5 = 21.9911485973609
x6 = 28.2743338652086
x7 = -65.9734457650482
x8 = -40.8407047547408
x9 = -646.120889088301
x10 = -13.6135681655558
x11 = -9.42477812311019
x12 = 38.7463093942741
x13 = 3.14159267447126
x14 = 40.8407042778045
x15 = 30.3687289847013
x16 = 55.5014702134197
x17 = -74.3510261349584
x18 = -40.8407049942712
x19 = 34.5575190335478
x20 = 3.14159322994749
x21 = 91.1061868116125
x22 = 47.1238901206303
x23 = -63.8790506229925
x24 = 74.3510261349584
x25 = -17.8023583703422
x26 = -5.23598775598299
x27 = -40.8407044128941
x28 = -95.2949771588904
x29 = -30.3687289847013
x30 = 53.4070753369186
x31 = -68.0678408277789
x32 = 9.42477818680547
x33 = 24.0855436775217
x34 = -78.5398161151012
x35 = 11.5191730631626
x36 = -59.690260457585
x37 = 82.7286065445312
x38 = -76.4454212373516
x39 = 17.8023583703422
x40 = 47.1238894268221
x41 = -15.7079632965016
x42 = 68.0678408277789
x43 = 36.6519142918809
x44 = -57.5958653158129
x45 = -3.14159287255706
x46 = 15.7079634367135
x47 = -70.162235930172
x48 = -719.424718069224
x49 = 13.6135681655558
x50 = -49.2182849062401
x51 = 72.2566310277195
x52 = 57.5958653158129
x53 = 32.4631240870945
x54 = 91.1061863890352
x55 = -53.4070752795041
x56 = 80.634211442138
x57 = -11.5191730631626
x58 = -47.1238905036874
x59 = -61.7846555205993
x60 = 99.4837673636768
x61 = -51.3126800086333
x62 = -7.33038285837618
x63 = 107.86134777325
x64 = 3.14159271706432
x65 = 91.1061868861836
x66 = 65.9734457528689
x67 = 76.4454212373516
x68 = -55.5014702134197
x69 = -84.8230014829768
x70 = 21.9911485851931
x71 = 97.389372486408
x72 = -84.8230022421807
x73 = -26.1799387799149
x74 = 59.6902605931502
x75 = -24.0855436775217
x76 = -40.8407044009017
x77 = -84.8230015251551
x78 = 91.1061869261407
x79 = -72.256630877064
x80 = 61.7846555205993
x81 = 84.8230014287926
x82 = 78.5398161904624
x83 = 19.8967534727354
x84 = 47.1238897752019
x85 = -47.1238900222279
x86 = -99.4837673636768
x87 = -19.8967534727354
x88 = -97.3893724356252
x89 = -28.2743337200245
x90 = -32.4631240870945
x91 = -34.5575189638817
x92 = 26.1799387799149
x93 = -93.2005820564972
x94 = -91.1061871711313
x95 = 47.1238898268985