El profesor se sorprenderá mucho al ver tu solución correcta😉
2 x + 2*x + 1 ------------ = 0 x - 2
a*x^2 + b*x + c = 0
D = b^2 - 4 * a * c =
(2)^2 - 4 * (1) * (1) = 0
x = -b/2a = -2/2/(1)
x1 = -1.0000014535098
x2 = -1.00000129752367
x3 = -1.00000116901575
x4 = -1.00000143293262
x5 = -1.00000132414058
x6 = -1.0000013180614
x7 = -1.00000128298292
x8 = -1.0000017841392
x9 = -1.00000145079248
x10 = -1.00000128709387
x11 = -1.00000131250222
x12 = -1.00000142204972
x13 = -1.00000133583522
x14 = -1.00000131040946
x15 = -1.00000156371314
x16 = -1.00000133664784
x17 = -1.00000144161747
x18 = -1.00000133018248
x19 = -1.00000132126564
x20 = -1.00000150571101
x21 = -1.00000144589993
x22 = -1.00000143967045
x23 = -1.00000142408406
x24 = -1.00000145959459
x25 = -1.00000130817681
x26 = -1.00000132274102
x27 = -1.00000114567948
x28 = -1.00000147078891
x29 = -1.00000171717037
x30 = -1.00000131446785
x31 = -1.00000133498939
x32 = -1.00000132908671
x33 = -1.00000143146935
x34 = -1.00000131631759
x35 = -1.00000145643552
x36 = -1.00000129086113
x37 = -1.0000006697916
x38 = -1.00000120394308
x39 = -1.00000148550404
x40 = -1.00000132547004
x41 = -1.00000121735217
x42 = -1.00000142876188
x43 = -1.0000012288349
x44 = -1.00000029822544
x45 = -1.00000188396895
x46 = -1.00000133410825
x47 = -1.0000014436898
x48 = -1.00000126195155
x49 = -1.00000107877543
x50 = -1.00000125514016
x51 = -1.00000166912986
x52 = -1.00000131970812
x53 = -1.00000158222097
x54 = -1.00000141930909
x55 = -1.00000142750702
x56 = -1.000001268043
x57 = -1.00000111645089
x58 = -1.00000143008097
x59 = -1.00000144826207
x60 = -1.00000085038662
x61 = -1.00000146673407
x62 = -1.00000149149447
x63 = -1.00000151423371
x64 = -1.00000149818648
x65 = -1.00000142304433
x66 = -1.00000142517208
x67 = -1.00000147522851
x68 = -1.00000130578978
x69 = -0.999999154657544
x70 = -1.00000127352292
x71 = -1.00000142018463
x72 = -1.00000124747317
x73 = -1.00000123877856
x74 = -1.000001278479
x75 = -1.00000146301607
x76 = -1.0000014263118
x77 = -1.00000130323177
x78 = -1.00000132793867
x79 = -1.00000143610945
x80 = -1.00000129432607
x81 = -1.00000133223085
x82 = -1.00000154827042
x83 = -1.00000133318956
x84 = -1.00000130048373
x85 = -1.00000118807845
x86 = -1.000001434477
x87 = -1.0000015351896
x88 = -1.00000132673451
x89 = -1.00000133122947
x90 = -1.00000102837189
x91 = -1.00000160480703
x92 = -1.00000095747583
x93 = -1.0000014378377
x94 = -1.0000015239673
x95 = -1.00000142109737
x96 = -1.00000163298623
x97 = -1.00000148011037
x97 = -1.00000148011037