El profesor se sorprenderá mucho al ver tu solución correcta😉
2 tan (x) - tan(x) - 2 = 0
a*w^2 + b*w + c = 0
D = b^2 - 4 * a * c =
(-1)^2 - 4 * (1) * (-2) = 9
w1 = (-b + sqrt(D)) / (2*a)
w2 = (-b - sqrt(D)) / (2*a)
-pi x1 = ---- 4
x2 = atan(2)
x2 = atan(2)
suma
pi - -- + atan(2) 4
=
pi - -- + atan(2) 4
producto
-pi ----*atan(2) 4
=
-pi*atan(2) ------------ 4
-pi*atan(2)/4
x1 = 96.6039740978861
x2 = 68.329640215578
x3 = 35.6646679072818
x4 = -91.8915851175014
x5 = -30.3087778181038
x6 = 99.7455667514759
x7 = 19.9567046393328
x8 = -3.92699081698724
x9 = -24.0255925109243
x10 = -54.1924732744239
x11 = 80.8960108299372
x12 = -74.2910749683609
x13 = -10.2101761241668
x14 = -16.4933614313464
x15 = -76.1836218495525
x16 = 48.231038521641
x17 = -25.9181393921158
x18 = -52.2999263932324
x19 = -12207.1219031321
x20 = 77.7544181763474
x21 = -57.3340659280137
x22 = -2.0344439357957
x23 = 27.4889357189107
x24 = 85.9301503647185
x25 = -69.9004365423729
x26 = -82.4668071567321
x27 = 2.35619449019234
x28 = -19.6349540849362
x29 = 24.3473430653209
x30 = -68.0078896611814
x31 = -83.7158529291303
x32 = -85.6083998103219
x33 = 90.3207887907066
x34 = 74.6128255227576
x35 = 40.0553063332699
x36 = -51.0508806208341
x37 = 30.6305283725005
x38 = -478.307481509046
x39 = 8.63937979737193
x40 = -61.7247043540018
x41 = 63.93900178959
x42 = 4.24874137138388
x43 = -98.174770424681
x44 = 70.2221870967695
x45 = -8.31762924297529
x46 = -39.7335557788732
x47 = -96.2822235434895
x48 = 84.037603483527
x49 = -63.6172512351933
x50 = -35.3429173528852
x51 = -46.0167410860528
x52 = 33.7721210260903
x53 = 92.2133356718981
x54 = 46.3384916404494
x55 = 26.2398899465124
x56 = -32.2013246992954
x57 = 11.7809724509617
x58 = 13.6735193321533
x59 = -17.7424072037447
x60 = -41.6261026600648
x61 = -651.095077456485
x62 = -38.484510006475
x63 = 18.0641577581413
x64 = -60.4756585816035
x65 = -47.9092879672443
x66 = 52.621676947629
x67 = 55.7632696012188
x68 = 62.0464549083984
x69 = 1001.38265833175
x70 = 49.4800842940392
x71 = -27.167185164514
x72 = -89.9990382363099
x73 = -79.3252145031423
x74 = -13.3517687777566
x75 = 5.49778714378214
x76 = 98.4965209790777
x77 = -858.440192593411
x78 = 41.9478532144614
x78 = 41.9478532144614