El profesor se sorprenderá mucho al ver tu solución correcta😉
2 (cos(2*x) + 1)*tan (x) - 1 = 0
suma
pi pi - -- + -- 4 4
=
0
producto
-pi pi ----*-- 4 4
=
2 -pi ----- 16
-pi^2/16
-pi x1 = ---- 4
pi x2 = -- 4
x2 = pi/4
x1 = 32.2013246992954
x2 = 66.7588438887831
x3 = -27.4889357189107
x4 = 10.2101761241668
x5 = -32.2013246992954
x6 = -41.6261026600648
x7 = 55.7632696012188
x8 = -38.484510006475
x9 = 44.7676953136546
x10 = 30.6305283725005
x11 = 27.4889357189107
x12 = 1021.80301058008
x13 = -19.6349540849362
x14 = -3.92699081698724
x15 = 49.4800842940392
x16 = 82.4668071567321
x17 = -69.9004365423729
x18 = 87.1791961371168
x19 = 52.621676947629
x20 = 384.059701901352
x21 = -77.7544181763474
x22 = 88.7499924639117
x23 = 16.4933614313464
x24 = 41.6261026600648
x25 = 96.6039740978861
x26 = -91.8915851175014
x27 = -46.3384916404494
x28 = -5.49778714378214
x29 = -84.037603483527
x30 = 91.8915851175014
x31 = -55.7632696012188
x32 = 77.7544181763474
x33 = 84.037603483527
x34 = -71.4712328691678
x35 = 8.63937979737193
x36 = -76.1836218495525
x37 = 60.4756585816035
x38 = 3.92699081698724
x39 = 38.484510006475
x40 = 90.3207887907066
x41 = -90.3207887907066
x42 = -79.3252145031423
x43 = -16.4933614313464
x44 = 98.174770424681
x45 = -18.0641577581413
x46 = 76.1836218495525
x47 = -13.3517687777566
x48 = 24.3473430653209
x49 = -40.0553063332699
x50 = -82.4668071567321
x51 = 22.776546738526
x52 = -98.174770424681
x53 = -68.329640215578
x54 = 46.3384916404494
x55 = 40.0553063332699
x56 = -33.7721210260903
x57 = -25.9181393921158
x58 = -60.4756585816035
x59 = -49.4800842940392
x60 = -57.3340659280137
x61 = 162.577419823272
x62 = 25.9181393921158
x63 = 85.6083998103219
x64 = -10.2101761241668
x65 = -35.3429173528852
x66 = -99.7455667514759
x67 = 74.6128255227576
x68 = 62.0464549083984
x69 = 54.1924732744239
x70 = -24.3473430653209
x71 = 68.329640215578
x72 = 63.6172512351933
x73 = 19.6349540849362
x74 = -85.6083998103219
x75 = 18.0641577581413
x76 = -93.4623814442964
x77 = -54.1924732744239
x78 = 2.35619449019234
x79 = 99.7455667514759
x80 = -11.7809724509617
x81 = 11.7809724509617
x82 = -62.0464549083984
x83 = 69.9004365423729
x84 = -63.6172512351933
x85 = -2.35619449019234
x86 = 33.7721210260903
x87 = 47.9092879672443
x88 = 5.49778714378214
x89 = -47.9092879672443
x89 = -47.9092879672443