PythonML
purpose:梯度下降的实例
利用梯度下降求函数y=(x+5)^2的最小值
梯度下降算法
import numpy as np
def func(x):
return (x+5)**2
x_points=np.linspace(-10,5,num=100)
y_points=func(x_points)
import matplotlib.pyplot as plt
%matplotlib inline
plt.figure()
plt.plot(x_points,y_points)
plt.show()
#Initialize Parameters
import random
start_x=random.uniform(-20,10)
alpha=0.01 #learning rate
max_iter=1000 #迭代次数
#梯度
def gradient(x):
return 2*(x+5)
start_x
9.847889809556982
n_iter=0
cur_x=start_x
x_list=[]
y_list=[]
while n_iter<max_iter:
pre_x=cur_x
cur_x=pre_x-alpha*gradient(pre_x)
n_iter+=1
cur_y=func(cur_x)
x_list.append(cur_x)
y_list.append(cur_y)
print('迭代次数={} , x={} , y={}'.format(n_iter,cur_x,cur_y))
迭代次数=1 , x=9.550932013365841 , y=211.7296224575949
迭代次数=2 , x=9.259913373098524 , y=203.34512940827412
迭代次数=3 , x=8.974715105636554 , y=195.29266228370648
迭代次数=4 , x=8.695220803523823 , y=187.5590728572717
迭代次数=5 , x=8.421316387453347 , y=180.13173357212375
迭代次数=6 , x=8.15289005970428 , y=172.99851692266765
迭代次数=7 , x=7.889832258510195 , y=166.14777565253002
迭代次数=8 , x=7.6320356133399905 , y=159.56832373668982
迭代次数=9 , x=7.379394901073191 , y=153.24941811671692
迭代次数=10 , x=7.131807003051727 , y=147.1807411592949
迭代次数=11 , x=6.889170862990692 , y=141.35238380938685
迭代次数=12 , x=6.651387445730879 , y=135.75482941053514
迭代次数=13 , x=6.418359696816261 , y=130.3789381658779
迭代次数=14 , x=6.189992502879936 , y=125.21593221450915
迭代次数=15 , x=5.966192652822337 , y=120.25738129881458
迭代次数=16 , x=5.74686879976589 , y=115.49518899938154
迭代次数=17 , x=5.531931423770573 , y=110.92157951500604
迭代次数=18 , x=5.321292795295161 , y=106.5290849662118
迭代次数=19 , x=5.114866939389258 , y=102.31053320154983
迭代次数=20 , x=4.912569600601473 , y=98.25903608676843
迭代次数=21 , x=4.714318208589443 , y=94.3679782577324
迭代次数=22 , x=4.520031844417654 , y=90.63100631872622
迭代次数=23 , x=4.329631207529301 , y=87.04201846850465
迭代次数=24 , x=4.143038583378715 , y=83.59515453715186
迭代次数=25 , x=3.960177811711141 , y=80.28478641748065
迭代次数=26 , x=3.780974255476918 , y=77.10550887534842
迭代次数=27 , x=3.6053547703673794 , y=74.0521307238846
迭代次数=28 , x=3.4332476749600316 , y=71.1196663472188
迭代次数=29 , x=3.264582721460831 , y=68.30332755986892
迭代次数=30 , x=3.0992910670316145 , y=65.59851578849812
迭代次数=31 , x=2.937305245690982 , y=63.000814563273586
迭代次数=32 , x=2.7785591407771624 , y=60.50598230656794
迭代次数=33 , x=2.622987957961619 , y=58.10994540722786
迭代次数=34 , x=2.470528198802387 , y=55.808791569101636
迭代次数=35 , x=2.321117634826339 , y=53.59876342296521
迭代次数=36 , x=2.1746952821298122 , y=51.47625239141579
迭代次数=37 , x=2.031201376487216 , y=49.43779279671572
迭代次数=38 , x=1.8905773489574715 , y=47.48005620196577
迭代次数=39 , x=1.752765801978322 , y=45.59984597636793
迭代次数=40 , x=1.6177104859387557 , y=43.79409207570376
迭代次数=41 , x=1.4853562762199806 , y=42.05984602950589
迭代次数=42 , x=1.355649150695581 , y=40.39427612673746
迭代次数=43 , x=1.2285361676816693 , y=38.79466279211866
迭代次数=44 , x=1.1039654443280358 , y=37.25839414555076
迭代次数=45 , x=0.9818861354414751 , y=35.78296173738695
迭代次数=46 , x=0.8622484127326455 , y=34.365956452586424
迭代次数=47 , x=0.7450034444779926 , y=33.005064577064
迭代次数=48 , x=0.6301033755884328 , y=31.69806401981226
迭代次数=49 , x=0.5175013080766642 , y=30.442820684627698
迭代次数=50 , x=0.4071512819151309 , y=29.237284985516446
迭代次数=51 , x=0.29900825627682825 , y=28.079488500089987
迭代次数=52 , x=0.19302809115129171 , y=26.96754075548643
迭代次数=53 , x=0.08916752932826588 , y=25.899626141569172
迭代次数=54 , x=-0.01261582125829945 , y=24.874000946363022
迭代次数=55 , x=-0.11236350483313345 , y=23.888990508887048
迭代次数=56 , x=-0.21011623473647079 , y=22.942986484735126
迭代次数=57 , x=-0.3059139100417414 , y=22.03444421993961
迭代次数=58 , x=-0.39979563184090655 , y=21.16188022883
迭代次数=59 , x=-0.49179971920408844 , y=20.323869771768333
迭代次数=60 , x=-0.5819637248200067 , y=19.519044528806308
迭代次数=61 , x=-0.6703244503236065 , y=18.746090365465577
迭代次数=62 , x=-0.7569179613171344 , y=18.003745186993147
迭代次数=63 , x=-0.8417796020907917 , y=17.29079687758821
迭代次数=64 , x=-0.9249440100489759 , y=16.60608132123572
迭代次数=65 , x=-1.0064451298479964 , y=15.948480500914785
迭代次数=66 , x=-1.0863162272510365 , y=15.31692067307856
迭代次数=67 , x=-1.1645899027060158 , y=14.710370614424647
迭代次数=68 , x=-1.2412981046518956 , y=14.127839938093432
迭代次数=69 , x=-1.3164721425588577 , y=13.568377476544933
迭代次数=70 , x=-1.3901426997076805 , y=13.031069728473755
迭代次数=71 , x=-1.4623398457135268 , y=12.515039367226192
迭代次数=72 , x=-1.5330930487992562 , y=12.019443808284036
迭代次数=73 , x=-1.602431187823271 , y=11.54347383347599
迭代次数=74 , x=-1.6703825640668057 , y=11.08635226967034
迭代次数=75 , x=-1.7369749127854697 , y=10.647332719791395
迭代次数=76 , x=-1.8022354145297603 , y=10.225698344087654
迭代次数=77 , x=-1.8661907062391652 , y=9.820760689661782
迭代次数=78 , x=-1.928866892114382 , y=9.431858566351178
迭代次数=79 , x=-1.9902895542720942 , y=9.05835696712367
迭代次数=80 , x=-2.0504837631866524 , y=8.699646031225571
迭代次数=81 , x=-2.1094740879229192 , y=8.355140048389039
迭代次数=82 , x=-2.167284606164461 , y=8.024276502472834
迭代次数=83 , x=-2.2239389140411716 , y=7.70651515297491
迭代次数=84 , x=-2.279460135760348 , y=7.401337152917104
迭代次数=85 , x=-2.3338709330451413 , y=7.108244201661585
迭代次数=86 , x=-2.387193514384238 , y=6.826757731275788
迭代次数=87 , x=-2.4394496440965536 , y=6.556418125117266
迭代次数=88 , x=-2.4906606512146228 , y=6.296783967362621
迭代次数=89 , x=-2.54084743819033 , y=6.047431322255062
迭代次数=90 , x=-2.5900304894265234 , y=5.807953041893763
迭代次数=91 , x=-2.638229879637993 , y=5.577958101434769
迭代次数=92 , x=-2.685465282045233 , y=5.3570709606179525
迭代次数=93 , x=-2.7317559764043287 , y=5.14493095057748
迭代次数=94 , x=-2.777120856876242 , y=4.941191684934613
迭代次数=95 , x=-2.821578439738717 , y=4.745520494211202
迭代次数=96 , x=-2.865146870943943 , y=4.5575978826404375
迭代次数=97 , x=-2.907843933525064 , y=4.377117006487876
迭代次数=98 , x=-2.9496870548545626 , y=4.203783173030957
迭代次数=99 , x=-2.9906933137574714 , y=4.037313359378931
迭代次数=100 , x=-3.030879447482322 , y=3.8774357503475256
迭代次数=101 , x=-3.0702618585326755 , y=3.7238892946337634
迭代次数=102 , x=-3.108856621362022 , y=3.576423278566266
迭代次数=103 , x=-3.1466794889347818 , y=3.4347969167350416
迭代次数=104 , x=-3.183745899156086 , y=3.2987789588323344
迭代次数=105 , x=-3.2200709811729644 , y=3.1681473120625734
迭代次数=106 , x=-3.2556695615495053 , y=3.042688678504895
迭代次数=107 , x=-3.2905561703185153 , y=2.922198206836101
迭代次数=108 , x=-3.324745046912145 , y=2.806479157845392
迭代次数=109 , x=-3.358250145973902 , y=2.695342583194715
迭代次数=110 , x=-3.3910851430544238 , y=2.588607016900204
迭代次数=111 , x=-3.4232634401933355 , y=2.486098179030955
迭代次数=112 , x=-3.4547981713894687 , y=2.38764869114133
迭代次数=113 , x=-3.4857022079616793 , y=2.293097802972133
迭代次数=114 , x=-3.5159881638024455 , y=2.202291129974437
迭代次数=115 , x=-3.5456684005263965 , y=2.11508040122745
迭代次数=116 , x=-3.574755032515869 , y=2.031323217338842
迭代次数=117 , x=-3.6032599318655514 , y=1.9508828179322242
迭代次数=118 , x=-3.63119473322824 , y=1.8736278583421087
迭代次数=119 , x=-3.6585708385636755 , y=1.7994321951517607
迭代次数=120 , x=-3.6853994217924018 , y=1.7281746802237516
迭代次数=121 , x=-3.711691433356554 , y=1.6597389628868908
迭代次数=122 , x=-3.7374576046894226 , y=1.5940132999565704
迭代次数=123 , x=-3.7627084525956342 , y=1.53089037327829
迭代次数=124 , x=-3.7874542835437217 , y=1.4702671144964692
迭代次数=125 , x=-3.8117051978728473 , y=1.4120445367624088
迭代次数=126 , x=-3.83547109391539 , y=1.356127573106618
迭代次数=127 , x=-3.8587616720370823 , y=1.3024249212115961
迭代次数=128 , x=-3.8815864385963406 , y=1.2508488943316172
迭代次数=129 , x=-3.9039547098244136 , y=1.2013152781160854
迭代次数=130 , x=-3.9258756156279255 , y=1.153743193102688
迭代次数=131 , x=-3.947358103315367 , y=1.1080549626558218
迭代次数=132 , x=-3.9684109412490596 , y=1.0641759861346511
迭代次数=133 , x=-3.9890427224240783 , y=1.0220346170837191
迭代次数=134 , x=-4.009261867975597 , y=0.981562046247204
迭代次数=135 , x=-4.029076630616085 , y=0.9426921892158151
迭代次数=136 , x=-4.048495098003763 , y=0.905361578522868
迭代次数=137 , x=-4.067525196043688 , y=0.8695092600133629
迭代次数=138 , x=-4.086174692122814 , y=0.8350766933168339
迭代次数=139 , x=-4.1044511982803575 , y=0.8020076562614875
迭代次数=140 , x=-4.12236217431475 , y=0.7702481530735332
迭代次数=141 , x=-4.139914930828455 , y=0.7397463262118208
迭代次数=142 , x=-4.157116632211886 , y=0.7104523716938335
迭代次数=143 , x=-4.173974299567648 , y=0.6823184577747572
迭代次数=144 , x=-4.190494813576295 , y=0.6552986468468768
迭代次数=145 , x=-4.206684917304769 , y=0.629348820431741
迭代次数=146 , x=-4.222551218958674 , y=0.6044266071426443
迭代次数=147 , x=-4.2381001945795 , y=0.5804913134997953
迭代次数=148 , x=-4.25333819068791 , y=0.5575038574852036
迭代次数=149 , x=-4.268271426874152 , y=0.535426704728789
迭代次数=150 , x=-4.28290599833667 , y=0.5142238072215283
迭代次数=151 , x=-4.297247878369936 , y=0.4938605444555557
迭代次数=152 , x=-4.311302920802538 , y=0.4743036668951156
迭代次数=153 , x=-4.325076862386487 , y=0.4555212416860693
迭代次数=154 , x=-4.338575325138757 , y=0.4374826005153006
迭代次数=155 , x=-4.351803818635982 , y=0.42015828953489437
迭代次数=156 , x=-4.364767742263263 , y=0.40352002126931236
迭代次数=157 , x=-4.377472387417997 , y=0.38754062842704806
迭代次数=158 , x=-4.3899229396696375 , y=0.37219401954133674
迭代次数=159 , x=-4.402124480876245 , y=0.3574551363674993
迭代次数=160 , x=-4.41408199125872 , y=0.34329991296734674
迭代次数=161 , x=-4.425800351433545 , y=0.3297052364138403
迭代次数=162 , x=-4.437284344404874 , y=0.316648909051852
迭代次数=163 , x=-4.448538657516777 , y=0.30410961225339844
迭代次数=164 , x=-4.459567884366441 , y=0.2920668716081642
迭代次数=165 , x=-4.470376526679113 , y=0.28050102349248063
迭代次数=166 , x=-4.48096899614553 , y=0.2693931829621785
迭代次数=167 , x=-4.49134961622262 , y=0.2587252129168759
迭代次数=168 , x=-4.501522623898167 , y=0.24847969448536789
迭代次数=169 , x=-4.511492171420204 , y=0.23863989858374748
迭代次数=170 , x=-4.5212623279918 , y=0.22918975859983082
迭代次数=171 , x=-4.530837081431964 , y=0.22011384415927732
迭代次数=172 , x=-4.540220339803325 , y=0.21139733593057017
迭代次数=173 , x=-4.549415933007258 , y=0.20302600142771993
迭代次数=174 , x=-4.558427614347113 , y=0.1949861717711822
迭代次数=175 , x=-4.56725906206017 , y=0.18726471936904354
迭代次数=176 , x=-4.575913880818967 , y=0.17984903648202932
迭代次数=177 , x=-4.584395603202587 , y=0.17272701463734133
迭代次数=178 , x=-4.592707691138536 , y=0.16588702485770251
迭代次数=179 , x=-4.600853537315765 , y=0.15931789867333734
迭代次数=180 , x=-4.60883646656945 , y=0.1530089098858731
迭代次数=181 , x=-4.616659737238061 , y=0.14694975705439234
迭代次数=182 , x=-4.6243265424933 , y=0.14113054667503833
迭代次数=183 , x=-4.631840011643434 , y=0.1355417770267067
迭代次数=184 , x=-4.639203211410566 , y=0.13017432265644896
迭代次数=185 , x=-4.646419147182354 , y=0.12501941947925374
迭代次数=186 , x=-4.653490764238707 , y=0.12006865046787557
迭代次数=187 , x=-4.6604209489539326 , y=0.11531393190934768
迭代次数=188 , x=-4.6672125299748535 , y=0.1107475002057378
迭代次数=189 , x=-4.673868279375356 , y=0.10636189919759063
迭代次数=190 , x=-4.680390913787849 , y=0.10214996798936618
迭代次数=191 , x=-4.686783095512092 , y=0.09810482925698746
迭代次数=192 , x=-4.6930474336018495 , y=0.09421987801841099
迭代次数=193 , x=-4.699186484929813 , y=0.09048877084888172
迭代次数=194 , x=-4.705202755231217 , y=0.08690541552326575
迭代次数=195 , x=-4.711098700126593 , y=0.08346396106854427
迭代次数=196 , x=-4.716876726124061 , y=0.08015878821022974
迭代次数=197 , x=-4.72253919160158 , y=0.07698450019710462
迭代次数=198 , x=-4.728088407769548 , y=0.07393591398929937
迭代次数=199 , x=-4.7335266396141575 , y=0.07100805179532307
迭代次数=200 , x=-4.738856106821874 , y=0.06819613294422838
迭代次数=201 , x=-4.744078984685436 , y=0.06549556607963714
迭代次数=202 , x=-4.749197404991728 , y=0.06290194166288339
迭代次数=203 , x=-4.754213456891893 , y=0.06041102477303323
迭代次数=204 , x=-4.759129187754056 , y=0.05801874819202101
迭代次数=205 , x=-4.763946603998974 , y=0.05572120576361711
迭代次数=206 , x=-4.768667671918995 , y=0.05351464601537779
迭代次数=207 , x=-4.773294318480615 , y=0.05139546603316876
迭代次数=208 , x=-4.7778284321110025 , y=0.04936020557825543
迭代次数=209 , x=-4.782271863468782 , y=0.04740554143735653
迭代次数=210 , x=-4.7866264261994065 , y=0.04552828199643733
迭代次数=211 , x=-4.790893897675418 , y=0.04372536202937853
迭代次数=212 , x=-4.795076019721909 , y=0.04199383769301529
迭代次数=213 , x=-4.799174499327471 , y=0.040330881720372046
迭代次数=214 , x=-4.803191009340921 , y=0.03873377880424548
迭代次数=215 , x=-4.8071271891541025 , y=0.03719992116359734
迭代次数=216 , x=-4.81098464537102 , y=0.03572680428551903
迭代次数=217 , x=-4.8147649524636 , y=0.03431202283581244
迭代次数=218 , x=-4.818469653414327 , y=0.032953266731514406
迭代次数=219 , x=-4.822100260346041 , y=0.03164831736894655
迭代次数=220 , x=-4.825658255139119 , y=0.03039504400113639
迭代次数=221 , x=-4.829145090036337 , y=0.029191400258691366
迭代次数=222 , x=-4.8325621882356105 , y=0.028035420808447144
迭代次数=223 , x=-4.835910944470898 , y=0.026925218144432692
迭代次数=224 , x=-4.83919272558148 , y=0.025858979505913215
迭代次数=225 , x=-4.842408871069851 , y=0.024834963917478928
迭代次数=226 , x=-4.845560693648454 , y=0.023851499346346648
迭代次数=227 , x=-4.848649479775485 , y=0.022906979972231293
迭代次数=228 , x=-4.851676490179975 , y=0.021999863565331006
迭代次数=229 , x=-4.854642960376376 , y=0.021128668968143832
迭代次数=230 , x=-4.857550101168848 , y=0.020291973677005377
迭代次数=231 , x=-4.8603990991454715 , y=0.019488411519395888
迭代次数=232 , x=-4.863191117162562 , y=0.01871667042322786
迭代次数=233 , x=-4.86592729481931 , y=0.017975490274468108
迭代次数=234 , x=-4.868608748922925 , y=0.017263660859599066
迭代次数=235 , x=-4.871236573944466 , y=0.01658001988955901
迭代次数=236 , x=-4.873811842465576 , y=0.01592345110193253
迭代次数=237 , x=-4.876335605616265 , y=0.015292882438296003
迭代次数=238 , x=-4.8788088935039395 , y=0.014687284293739469
迭代次数=239 , x=-4.88123271563386 , y=0.014105667835707466
迭代次数=240 , x=-4.883608061321183 , y=0.0135470833894134
迭代次数=241 , x=-4.8859359000947595 , y=0.013010618887192679
迭代次数=242 , x=-4.888217182092864 , y=0.01249539837925984
迭代次数=243 , x=-4.890452838451007 , y=0.012000580603441151
迭代次数=244 , x=-4.892643781681987 , y=0.011525357611544823
迭代次数=245 , x=-4.894790906048348 , y=0.011068953450127563
迭代次数=246 , x=-4.896895087927381 , y=0.010630622893502556
迭代次数=247 , x=-4.8989571861688335 , y=0.010209650226919779
迭代次数=248 , x=-4.900978042445457 , y=0.009805348077933675
迭代次数=249 , x=-4.902958481596548 , y=0.009417056294047446
迭代次数=250 , x=-4.904899311964617 , y=0.00904414086480321
迭代次数=251 , x=-4.906801325725325 , y=0.008685992886557027
迭代次数=252 , x=-4.908665299210818 , y=0.008342027568249411
迭代次数=253 , x=-4.910491993226602 , y=0.008011683276546699
迭代次数=254 , x=-4.91228215336207 , y=0.007694420618795413
迭代次数=255 , x=-4.914036510294829 , y=0.007389721562291057
迭代次数=256 , x=-4.915755780088932 , y=0.007097088588424387
迭代次数=257 , x=-4.917440664487153 , y=0.006816043880322784
迭代次数=258 , x=-4.91909185119741 , y=0.006546128542662011
迭代次数=259 , x=-4.920710014173462 , y=0.0062869018523725815
迭代次数=260 , x=-4.922295813889993 , y=0.006037940539018632
迭代次数=261 , x=-4.923849897612193 , y=0.0057988380936734646
迭代次数=262 , x=-4.9253728996599495 , y=0.005569204105163964
迭代次数=263 , x=-4.9268654416667506 , y=0.005348663622599466
迭代次数=264 , x=-4.928328132833416 , y=0.005136856543144481
迭代次数=265 , x=-4.929761570176748 , y=0.004933437024035945
迭代次数=266 , x=-4.931166338773212 , y=0.004738072917884175
迭代次数=267 , x=-4.9325430119977485 , y=0.004550445230335907
迭代次数=268 , x=-4.933892151757793 , y=0.004370247599214649
迭代次数=269 , x=-4.935214308722637 , y=0.004197185794285788
迭代次数=270 , x=-4.936510022548184 , y=0.004030977236832112
迭代次数=271 , x=-4.93777982209722 , y=0.003871350538253538
迭代次数=272 , x=-4.939024225655276 , y=0.0037180450569387433
迭代次数=273 , x=-4.9402437411421705 , y=0.003570810472683931
迭代次数=274 , x=-4.941438866319327 , y=0.0034294063779656348
迭代次数=275 , x=-4.94261008899294 , y=0.0032936018853982323
迭代次数=276 , x=-4.943757887213081 , y=0.0031631752507364722
迭代次数=277 , x=-4.944882729468819 , y=0.003037913510807355
迭代次数=278 , x=-4.945985074879443 , y=0.002917612135779338
迭代次数=279 , x=-4.947065373381855 , y=0.0028020746952024684
迭代次数=280 , x=-4.948124065914217 , y=0.0026911125372724855
迭代次数=281 , x=-4.949161584595933 , y=0.002584544480796508
迭代次数=282 , x=-4.950178352904014 , y=0.0024821965193569944
迭代次数=283 , x=-4.951174785845933 , y=0.002383901537190487
迭代次数=284 , x=-4.952151290129015 , y=0.0022894990363177183
迭代次数=285 , x=-4.953108264326435 , y=0.0021988348744795064
迭代次数=286 , x=-4.954046099039906 , y=0.002111761013450128
迭代次数=287 , x=-4.954965177059108 , y=0.0020281352773174628
迭代次数=288 , x=-4.955865873517926 , y=0.001947821120335729
迭代次数=289 , x=-4.956748556047567 , y=0.0018706874039704311
迭代次数=290 , x=-4.957613584926616 , y=0.0017966081827732064
迭代次数=291 , x=-4.958461313228083 , y=0.0017254624987354111
迭代次数=292 , x=-4.959292086963521 , y=0.001657134183785512
迭代次数=293 , x=-4.960106245224251 , y=0.0015915116701075759
迭代次数=294 , x=-4.960904120319766 , y=0.001528487807971341
迭代次数=295 , x=-4.9616860379133705 , y=0.001467959690775684
迭代次数=296 , x=-4.962452317155103 , y=0.0014098284870209775
迭代次数=297 , x=-4.963203270812001 , y=0.0013539992789349156
迭代次数=298 , x=-4.963939205395762 , y=0.0013003809074890686
迭代次数=299 , x=-4.964660421287847 , y=0.00124888582355248
迭代次数=300 , x=-4.965367212862089 , y=0.0011994299449398277
迭代次数=301 , x=-4.966059868604847 , y=0.0011519325191202395
迭代次数=302 , x=-4.966738671232751 , y=0.0011063159913630531
迭代次数=303 , x=-4.967403897808095 , y=0.0010625058781050854
迭代次数=304 , x=-4.968055819851934 , y=0.0010204306453321218
迭代次数=305 , x=-4.9686947034548945 , y=0.0009800215917769944
迭代次数=306 , x=-4.969320809385796 , y=0.0009412127367426417
迭代次数=307 , x=-4.969934393198081 , y=0.0009039407123676213
迭代次数=308 , x=-4.970535705334119 , y=0.0008681446601578614
迭代次数=309 , x=-4.971124991227437 , y=0.000833766131615609
迭代次数=310 , x=-4.971702491402888 , y=0.00080074899280364
迭代次数=311 , x=-4.97226844157483 , y=0.0007690393326886326
迭代次数=312 , x=-4.972823072743333 , y=0.0007385853751141628
迭代次数=313 , x=-4.9733666112884665 , y=0.0007093373942596418
迭代次数=314 , x=-4.973899279062697 , y=0.0006812476334469777
迭代次数=315 , x=-4.974421293481443 , y=0.0006542702271624637
迭代次数=316 , x=-4.974932867611814 , y=0.0006283611261668284
迭代次数=317 , x=-4.975434210259578 , y=0.0006034780255706394
迭代次数=318 , x=-4.975925526054386 , y=0.0005795802957580482
迭代次数=319 , x=-4.976407015533298 , y=0.0005566289160460311
迭代次数=320 , x=-4.976878875222632 , y=0.0005345864109706075
迭代次数=321 , x=-4.97734129771818 , y=0.0005134167890961593
迭代次数=322 , x=-4.977794471763817 , y=0.0004930854842479324
迭代次数=323 , x=-4.97823858232854 , y=0.00047355929907172206
迭代次数=324 , x=-4.978673810681969 , y=0.00045480635082848945
迭代次数=325 , x=-4.97910033446833 , y=0.0004367960193356657
迭代次数=326 , x=-4.979518327778964 , y=0.0004194988969699726
迭代次数=327 , x=-4.979927961223384 , y=0.0004028867406499588
迭代次数=328 , x=-4.980329401998917 , y=0.0003869324257202086
迭代次数=329 , x=-4.980722813958939 , y=0.0003716099016616938
迭代次数=330 , x=-4.9811083576797595 , y=0.0003568941495559035
迭代次数=331 , x=-4.981486190526164 , y=0.0003427611412334982
迭代次数=332 , x=-4.981856466715641 , y=0.00032918780004064787
迭代次数=333 , x=-4.982219337381328 , y=0.00031615196315904197
迭代次数=334 , x=-4.982574950633701 , y=0.00030363234541795197
迭代次数=335 , x=-4.982923451621027 , y=0.0002916085045393974
迭代次数=336 , x=-4.983264982588607 , y=0.0002800608077596248
迭代次数=337 , x=-4.983599682936835 , y=0.0002689703997723419
迭代次数=338 , x=-4.983927689278098 , y=0.0002583191719413612
迭代次数=339 , x=-4.9842491354925365 , y=0.00024808973273247485
迭代次数=340 , x=-4.984564152782686 , y=0.00023826537931626558
迭代次数=341 , x=-4.984872869727032 , y=0.00022883007029534739
迭代次数=342 , x=-4.985175412332492 , y=0.0002197683995116416
迭代次数=343 , x=-4.985471904085842 , y=0.00021106557089096924
迭代次数=344 , x=-4.985762466004125 , y=0.00020270737428368737
迭代次数=345 , x=-4.986047216684042 , y=0.00019468016226206525
迭代次数=346 , x=-4.986326272350362 , y=0.0001869708278364787
迭代次数=347 , x=-4.986599746903354 , y=0.00017956678305416321
迭代次数=348 , x=-4.9868677519652875 , y=0.00017245593844520947
迭代次数=349 , x=-4.9871303969259815 , y=0.00016562668328278695
迭代次数=350 , x=-4.987387788987462 , y=0.00015906786662478367
迭代次数=351 , x=-4.987640033207713 , y=0.00015276877910644048
迭代次数=352 , x=-4.987887232543558 , y=0.00014671913545383146
迭代次数=353 , x=-4.988129487892687 , y=0.00014090905768986565
迭代次数=354 , x=-4.988366898134833 , y=0.00013532905900534613
迭代次数=355 , x=-4.988599560172137 , y=0.00012997002826872713
迭代次数=356 , x=-4.988827568968694 , y=0.00012482321514928793
迭代次数=357 , x=-4.98905101758932 , y=0.00011988021582937729
迭代次数=358 , x=-4.989269997237534 , y=0.00011513295928253623
迭代次数=359 , x=-4.989484597292783 , y=0.00011057369409494107
迭代次数=360 , x=-4.989694905346927 , y=0.000106194975808788
迭代次数=361 , x=-4.989901007239989 , y=0.00010198965476675964
迭代次数=362 , x=-4.990102987095189 , y=9.79508644379963e-05
迭代次数=363 , x=-4.990300927353285 , y=9.407201020625062e-05
迭代次数=364 , x=-4.99049490880622 , y=9.034675860208174e-05
迭代次数=365 , x=-4.990685010630095 , y=8.676902696144196e-05
迭代次数=366 , x=-4.990871310417493 , y=8.333297349377404e-05
迭代次数=367 , x=-4.991053884209143 , y=8.003298774341741e-05
迭代次数=368 , x=-4.991232806524961 , y=7.686368142877154e-05
迭代次数=369 , x=-4.991408150394461 , y=7.381987964419768e-05
迭代次数=370 , x=-4.991579987386572 , y=7.089661241028207e-05
迭代次数=371 , x=-4.99174838763884 , y=6.808910655884135e-05
迭代次数=372 , x=-4.991913419886064 , y=6.539277793910577e-05
迭代次数=373 , x=-4.992075151488343 , y=6.280322393271887e-05
迭代次数=374 , x=-4.992233648458575 , y=6.0316216264987895e-05
迭代次数=375 , x=-4.992388975489404 , y=5.7927694100893565e-05
迭代次数=376 , x=-4.992541195979616 , y=5.5633757414500036e-05
迭代次数=377 , x=-4.992690372060023 , y=5.343066062088791e-05
迭代次数=378 , x=-4.992836564618822 , y=5.131480646030686e-05
迭代次数=379 , x=-4.992979833326446 , y=4.928274012447646e-05
迭代次数=380 , x=-4.993120236659917 , y=4.7331143615553055e-05
迭代次数=381 , x=-4.9932578319267185 , y=4.545683032837692e-05
迭代次数=382 , x=-4.9933926752881845 , y=4.365673984736732e-05
迭代次数=383 , x=-4.993524821782421 , y=4.192793294941434e-05
迭代次数=384 , x=-4.993654325346772 , y=4.0267586804620234e-05
迭代次数=385 , x=-4.993781238839836 , y=3.8672990367162355e-05
迭代次数=386 , x=-4.993905614063039 , y=3.7141539948623806e-05
迭代次数=387 , x=-4.994027501781779 , y=3.5670734966655545e-05
迭代次数=388 , x=-4.994146951746143 , y=3.425817386197869e-05
迭代次数=389 , x=-4.99426401271122 , y=3.290155017704698e-05
迭代次数=390 , x=-4.994378732456996 , y=3.159864879003353e-05
迭代次数=391 , x=-4.994491157807856 , y=3.0347342297949374e-05
迭代次数=392 , x=-4.994601334651699 , y=2.9145587542949812e-05
迭代次数=393 , x=-4.994709307958665 , y=2.7991422276244676e-05
迭代次数=394 , x=-4.994815121799491 , y=2.6882961954109438e-05
迭代次数=395 , x=-4.994918819363502 , y=2.581839666072544e-05
迭代次数=396 , x=-4.995020442976232 , y=2.4795988152957882e-05
迭代次数=397 , x=-4.995120034116708 , y=2.3814067022096937e-05
迭代次数=398 , x=-4.995217633434374 , y=2.2871029968020878e-05
迭代次数=399 , x=-4.995313280765687 , y=2.1965337181283258e-05
迭代次数=400 , x=-4.995407015150373 , y=2.1095509828906235e-05
迭代次数=401 , x=-4.995498874847366 , y=2.026012763967755e-05
迭代次数=402 , x=-4.9955888973504186 , y=1.9457826585144437e-05
迭代次数=403 , x=-4.99567711940341 , y=1.868729665237072e-05
迭代次数=404 , x=-4.995763577015342 , y=1.7947279704935638e-05
迭代次数=405 , x=-4.995848305475035 , y=1.7236567428623432e-05
迭代次数=406 , x=-4.9959313393655345 , y=1.655399935844951e-05
迭代次数=407 , x=-4.996012712578223 , y=1.58984609838576e-05
迭代次数=408 , x=-4.996092458326659 , y=1.526888192889448e-05
迭代次数=409 , x=-4.996170609160126 , y=1.4664234204509985e-05
迭代次数=410 , x=-4.996247196976924 , y=1.4083530530008456e-05
迭代次数=411 , x=-4.996322253037386 , y=1.352582272101751e-05
迭代次数=412 , x=-4.996395807976638 , y=1.299020014126496e-05
迭代次数=413 , x=-4.9964678918171055 , y=1.2475788215670366e-05
迭代次数=414 , x=-4.996538533980764 , y=1.1981747002327236e-05
迭代次数=415 , x=-4.9966077633011485 , y=1.1507269821034717e-05
迭代次数=416 , x=-4.996675608035126 , y=1.105158193611879e-05
迭代次数=417 , x=-4.996742095874423 , y=1.0613939291449643e-05
迭代次数=418 , x=-4.996807253956935 , y=1.0193627295506989e-05
迭代次数=419 , x=-4.996871108877796 , y=9.789959654605912e-06
迭代次数=420 , x=-4.99693368670024 , y=9.402277252284608e-06
迭代次数=421 , x=-4.996995012966235 , y=9.029947073094137e-06
迭代次数=422 , x=-4.997055112706911 , y=8.672361168997412e-06
迭代次数=423 , x=-4.997114010452773 , y=8.328935666705216e-06
迭代次数=424 , x=-4.997171730243717 , y=7.9991098143059e-06
迭代次数=425 , x=-4.997228295638843 , y=7.682345065656926e-06
迭代次数=426 , x=-4.997283729726066 , y=7.3781242010590345e-06
迭代次数=427 , x=-4.997338055131545 , y=7.085950482695395e-06
迭代次数=428 , x=-4.997391294028914 , y=6.8053468435819545e-06
迭代次数=429 , x=-4.997443468148336 , y=6.535855108573929e-06
迭代次数=430 , x=-4.997494598785369 , y=6.277035246272532e-06
迭代次数=431 , x=-4.997544706809662 , y=6.028464650520664e-06
迭代次数=432 , x=-4.997593812673468 , y=5.789737450362012e-06
迭代次数=433 , x=-4.997641936419999 , y=5.56046384732667e-06
迭代次数=434 , x=-4.997689097691599 , y=5.340269478972699e-06
迭代次数=435 , x=-4.997735315737767 , y=5.12879480760546e-06
迭代次数=436 , x=-4.997780609423012 , y=4.9256945332223916e-06
迭代次数=437 , x=-4.997824997234552 , y=4.730637029705085e-06
迭代次数=438 , x=-4.997868497289861 , y=4.543303803328764e-06
迭代次数=439 , x=-4.997911127344064 , y=4.36338897271546e-06
迭代次数=440 , x=-4.997952904797183 , y=4.190598769397674e-06
迭代次数=441 , x=-4.997993846701239 , y=4.024651058129526e-06
迭代次数=442 , x=-4.9980339697672145 , y=3.865274876226688e-06
迭代次数=443 , x=-4.99807329037187 , y=3.7122099911276323e-06
迭代次数=444 , x=-4.9981118245644325 , y=3.565206475480588e-06
迭代次数=445 , x=-4.998149588073144 , y=3.4240242990520827e-06
迭代次数=446 , x=-4.9981865963116805 , y=3.2884329368107797e-06
迭代次数=447 , x=-4.998222864385447 , y=3.1582109925128833e-06
迭代次数=448 , x=-4.998258407097738 , y=3.0331458372107346e-06
迭代次数=449 , x=-4.998293238955783 , y=2.913033262058099e-06
迭代次数=450 , x=-4.998327374176667 , y=2.797677144879826e-06
迭代次数=451 , x=-4.998360826693133 , y=2.686889129943924e-06
迭代次数=452 , x=-4.998393610159271 , y=2.5804883203981445e-06
迭代次数=453 , x=-4.998425737956086 , y=2.4783009829092594e-06
迭代次数=454 , x=-4.998457223196964 , y=2.38016026398545e-06
迭代次数=455 , x=-4.998488078733025 , y=2.285905917532539e-06
迭代次数=456 , x=-4.998518317158364 , y=2.195384043197777e-06
迭代次数=457 , x=-4.998547950815197 , y=2.1084468350880734e-06
迭代次数=458 , x=-4.998576991798893 , y=2.0249523404186363e-06
迭代次数=459 , x=-4.998605451962915 , y=1.9447642277387024e-06
迭代次数=460 , x=-4.9986333429236565 , y=1.8677515643198614e-06
迭代次数=461 , x=-4.9986606760651835 , y=1.7937886023723667e-06
迭代次数=462 , x=-4.99868746254388 , y=1.722754573718048e-06
迭代次数=463 , x=-4.998713713293002 , y=1.6545334925998642e-06
迭代次数=464 , x=-4.998739439027142 , y=1.5890139662921035e-06
迭代次数=465 , x=-4.998764650246599 , y=1.5260890132273751e-06
迭代次数=466 , x=-4.998789357241667 , y=1.4656558883045173e-06
迭代次数=467 , x=-4.998813570096834 , y=1.407615915126689e-06
迭代次数=468 , x=-4.998837298694897 , y=1.351874324887672e-06
迭代次数=469 , x=-4.998860552720999 , y=1.2983401016221607e-06
迭代次数=470 , x=-4.99888334166658 , y=1.2469258335970901e-06
迭代次数=471 , x=-4.998905674833248 , y=1.1975475705875395e-06
迭代次数=472 , x=-4.998927561336583 , y=1.1501246867923491e-06
迭代次数=473 , x=-4.998949010109851 , y=1.1045797491948494e-06
迭代次数=474 , x=-4.998970029907654 , y=1.060838391127136e-06
迭代次数=475 , x=-4.9989906293095006 , y=1.0188291908393261e-06
迭代次数=476 , x=-4.9990108167233105 , y=9.784835548821942e-07
迭代次数=477 , x=-4.999030600388844 , y=9.397356061097203e-07
迭代次数=478 , x=-4.999049988381067 , y=9.025220761075728e-07
迭代次数=479 , x=-4.999068988613446 , y=8.667822018939114e-07
迭代次数=480 , x=-4.999087608841177 , y=8.324576266986208e-07
迭代次数=481 , x=-4.999105856664353 , y=7.994923046820861e-07
迭代次数=482 , x=-4.999123739531066 , y=7.678324094169556e-07
迭代次数=483 , x=-4.9991412647404445 , y=7.374262460038306e-07
迭代次数=484 , x=-4.999158439445636 , y=7.082241666616604e-07
迭代次数=485 , x=-4.999175270656723 , y=6.801784896621809e-07
迭代次数=486 , x=-4.999191765243588 , y=6.532434214720179e-07
迭代次数=487 , x=-4.999207929938716 , y=6.273749819817542e-07
迭代次数=488 , x=-4.999223771339942 , y=6.025309326956076e-07
迭代次数=489 , x=-4.999239295913143 , y=5.786707077608075e-07
迭代次数=490 , x=-4.999254509994881 , y=5.557553477328704e-07
迭代次数=491 , x=-4.999269419794983 , y=5.337474359630641e-07
迭代次数=492 , x=-4.999284031399083 , y=5.126110374994354e-07
迭代次数=493 , x=-4.999298350771101 , y=4.92311640415081e-07
迭代次数=494 , x=-4.9993123837556785 , y=4.7281609945474145e-07
迭代次数=495 , x=-4.999326136080565 , y=4.540925819157352e-07
迭代次数=496 , x=-4.999339613358954 , y=4.3611051567224745e-07
迭代次数=497 , x=-4.999352821091775 , y=4.1884053925125857e-07
迭代次数=498 , x=-4.99936576466994 , y=4.022544538964806e-07
迭代次数=499 , x=-4.999378449376541 , y=3.8632517752176046e-07
迭代次数=500 , x=-4.999390880389011 , y=3.710267004918987e-07
迭代次数=501 , x=-4.99940306278123 , y=3.563340431528225e-07
迭代次数=502 , x=-4.999415001525605 , y=3.4222321504405383e-07
迭代次数=503 , x=-4.999426701495093 , y=3.286711757287981e-07
迭代次数=504 , x=-4.999438167465191 , y=3.15655797170297e-07
迭代次数=505 , x=-4.999449404115887 , y=3.031558276024119e-07
迭代次数=506 , x=-4.999460416033569 , y=2.911508568289922e-07
迭代次数=507 , x=-4.999471207712898 , y=2.796212828983387e-07
迭代次数=508 , x=-4.9994817835586405 , y=2.685482800953251e-07
迭代次数=509 , x=-4.999492147887468 , y=2.579137682035683e-07
迭代次数=510 , x=-4.9995023049297185 , y=2.4770038298253014e-07
迭代次数=511 , x=-4.999512258831124 , y=2.3789144781669922e-07
迭代次数=512 , x=-4.999522013654501 , y=2.284709464831749e-07
迭代次数=513 , x=-4.999531573381411 , y=2.1942349700275738e-07
迭代次数=514 , x=-4.999540941913783 , y=2.1073432652115463e-07
迭代次数=515 , x=-4.999550123075507 , y=2.0238924719102877e-07
迭代次数=516 , x=-4.9995591206139975 , y=1.943746330019038e-07
迭代次数=517 , x=-4.999567938201718 , y=1.8667739753470605e-07
迭代次数=518 , x=-4.999576579437684 , y=1.792849725921211e-07
迭代次数=519 , x=-4.99958504784893 , y=1.721852876777237e-07
迭代次数=520 , x=-4.999593346891952 , y=1.653667502854547e-07
迭代次数=521 , x=-4.999601479954112 , y=1.588182269744197e-07
迭代次数=522 , x=-4.99960945035503 , y=1.5252902518609392e-07
迭代次数=523 , x=-4.99961726134793 , y=1.4648887578857503e-07
迭代次数=524 , x=-4.999624916120971 , y=1.4068791630749404e-07
迭代次数=525 , x=-4.999632417798551 , y=1.351166748218087e-07
迭代次数=526 , x=-4.99963976944258 , y=1.2976605449909543e-07
迭代次数=527 , x=-4.999646974053729 , y=1.246273187408184e-07
迭代次数=528 , x=-4.999654034572654 , y=1.196920769189278e-07
迭代次数=529 , x=-4.9996609538812 , y=1.1495227067317915e-07
迭代次数=530 , x=-4.999667734803576 , y=1.1040016075478096e-07
迭代次数=531 , x=-4.999674380107504 , y=1.060283143889032e-07
迭代次数=532 , x=-4.999680892505355 , y=1.0182959313884188e-07
迭代次数=533 , x=-4.999687274655248 , y=9.779714125047709e-08
迭代次数=534 , x=-4.999693529162142 , y=9.39243744572195e-08
迭代次数=535 , x=-4.9996996585788995 , y=9.02049692286496e-08
迭代次数=536 , x=-4.999705665407322 , y=8.663285244706959e-08
迭代次数=537 , x=-4.999711552099176 , y=8.320219148992993e-08
迭代次数=538 , x=-4.999717321057192 , y=7.990738470709943e-08
迭代次数=539 , x=-4.999722974636048 , y=7.674305227293451e-08
迭代次数=540 , x=-4.999728515143326 , y=7.370402740309026e-08
迭代次数=541 , x=-4.99973394484046 , y=7.078534791781446e-08
迭代次数=542 , x=-4.999739265943651 , y=6.798224814018564e-08
迭代次数=543 , x=-4.999744480624778 , y=6.52901511138706e-08
迭代次数=544 , x=-4.999749591012282 , y=6.27046611298414e-08
迭代次数=545 , x=-4.999754599192037 , y=6.022155654904736e-08
迭代次数=546 , x=-4.999759507208196 , y=5.783678290949148e-08
迭代次数=547 , x=-4.999764317064033 , y=5.554644630617514e-08
迭代次数=548 , x=-4.999769030722752 , y=5.334680703245061e-08
迭代次数=549 , x=-4.999773650108297 , y=5.1234273473861027e-08
迭代次数=550 , x=-4.999778177106132 , y=4.920539624415427e-08
迭代次数=551 , x=-4.999782613564009 , y=4.725686255282398e-08
迭代次数=552 , x=-4.999786961292729 , y=4.5385490795588345e-08
迭代次数=553 , x=-4.999791222066874 , y=4.3588225360231395e-08
迭代次数=554 , x=-4.999795397625537 , y=4.1862131636017115e-08
迭代次数=555 , x=-4.999799489673026 , y=4.020439122321659e-08
迭代次数=556 , x=-4.999803499879565 , y=3.8612297330854e-08
迭代次数=557 , x=-4.999807429881974 , y=3.7083250356497456e-08
迭代次数=558 , x=-4.999811281284335 , y=3.5614753642353334e-08
迭代次数=559 , x=-4.999815055658648 , y=3.420440939803073e-08
迭代次数=560 , x=-4.999818754545475 , y=3.284991478586227e-08
迭代次数=561 , x=-4.9998223794545655 , y=3.154905816043678e-08
迭代次数=562 , x=-4.999825931865474 , y=3.029971545733296e-08
迭代次数=563 , x=-4.999829413228165 , y=2.909984672520439e-08
迭代次数=564 , x=-4.999832824963601 , y=2.7947492794993202e-08
迭代次数=565 , x=-4.999836168464329 , y=2.6840772080358034e-08
迭代次数=566 , x=-4.999839445095042 , y=2.5777877505975857e-08
迭代次数=567 , x=-4.999842656193142 , y=2.4757073556655364e-08
迭代次数=568 , x=-4.999845803069279 , y=2.377669344372416e-08
迭代次数=569 , x=-4.999848887007894 , y=2.2835136383266787e-08
迭代次数=570 , x=-4.999851909267736 , y=2.1930864982410504e-08
迭代次数=571 , x=-4.999854871082381 , y=2.1062402729158608e-08
迭代次数=572 , x=-4.999857773660734 , y=2.022833158096771e-08
迭代次数=573 , x=-4.99986061818752 , y=1.942728965026235e-08
迭代次数=574 , x=-4.99986340582377 , y=1.8657968980048878e-08
迭代次数=575 , x=-4.999866137707294 , y=1.791911340840565e-08
迭代次数=576 , x=-4.999868814953149 , y=1.72095165173722e-08
迭代次数=577 , x=-4.999871438654086 , y=1.6528019663188344e-08
迭代次数=578 , x=-4.999874009881005 , y=1.5873510084472372e-08
迭代次数=579 , x=-4.999876529683385 , y=1.52449190850834e-08
迭代次数=580 , x=-4.999878999089717 , y=1.4641220289421569e-08
迭代次数=581 , x=-4.999881419107922 , y=1.406142796602788e-08
迭代次数=582 , x=-4.999883790725764 , y=1.3504595418548404e-08
迭代次数=583 , x=-4.999886114911249 , y=1.296981343992129e-08
迭代次数=584 , x=-4.999888392613023 , y=1.2456208827763849e-08
迭代次数=585 , x=-4.999890624760763 , y=1.19629429581844e-08
迭代次数=586 , x=-4.999892812265547 , y=1.1489210417108843e-08
迭代次数=587 , x=-4.999894956020237 , y=1.1034237684535353e-08
迭代次数=588 , x=-4.999897056899832 , y=1.0597281872154609e-08
迭代次数=589 , x=-4.999899115761836 , y=1.017762950997786e-08
迭代次数=590 , x=-4.999901133446599 , y=9.774595381386249e-09
迭代次数=591 , x=-4.999903110777667 , y=9.387521404331545e-09
迭代次数=592 , x=-4.9999050485621135 , y=9.015775556716642e-09
迭代次数=593 , x=-4.999906947590871 , y=8.658750844740087e-09
迭代次数=594 , x=-4.999908808639053 , y=8.315864311353174e-09
迭代次数=595 , x=-4.999910632466272 , y=7.986556084607714e-09
迭代次数=596 , x=-4.999912419816947 , y=7.670288463654137e-09
迭代次数=597 , x=-4.999914171420608 , y=7.36654504046599e-09
迭代次数=598 , x=-4.999915887992196 , y=7.074829856839631e-09
迭代次数=599 , x=-4.999917570232352 , y=6.79466659451171e-09
迭代次数=600 , x=-4.999919218827705 , y=6.5255977974149655e-09
迭代次数=601 , x=-4.99992083445115 , y=6.267184124671083e-09
迭代次数=602 , x=-4.999922417762127 , y=6.019003633403015e-09
迭代次数=603 , x=-4.999923969406884 , y=5.7806510895040485e-09
迭代次数=604 , x=-4.999925490018747 , y=5.551737306375571e-09
迭代次数=605 , x=-4.999926980218372 , y=5.3318885090482866e-09
迭代次数=606 , x=-4.9999284406140045 , y=5.120745724046756e-09
迭代次数=607 , x=-4.999929871801725 , y=4.917964193314709e-09
迭代次数=608 , x=-4.99993127436569 , y=4.723212811271655e-09
迭代次数=609 , x=-4.999932648878376 , y=4.536173583985974e-09
迭代次数=610 , x=-4.9999339959008084 , y=4.356541110088269e-09
迭代次数=611 , x=-4.999935315982793 , y=4.184022082085111e-09
迭代次数=612 , x=-4.999936609663137 , y=4.018334807630036e-09
迭代次数=613 , x=-4.999937877469874 , y=3.859208749289821e-09
迭代次数=614 , x=-4.999939119920477 , y=3.706384082779012e-09
迭代次数=615 , x=-4.999940337522067 , y=3.559611273130638e-09
迭代次数=616 , x=-4.9999415307716255 , y=3.4186506667084327e-09
迭代次数=617 , x=-4.999942700156193 , y=3.283272100266065e-09
迭代次数=618 , x=-4.999943846153069 , y=3.1532545251035087e-09
迭代次数=619 , x=-4.999944969230008 , y=3.0283856458663977e-09
迭代次数=620 , x=-4.999946069845408 , y=2.9084615743035005e-09
迭代次数=621 , x=-4.9999471484485 , y=2.793286495925406e-09
迭代次数=622 , x=-4.99994820547953 , y=2.6826723507051613e-09
迭代次数=623 , x=-4.999949241369939 , y=2.5764385256569094e-09
迭代次数=624 , x=-4.99995025654254 , y=2.4744115600532666e-09
迭代次数=625 , x=-4.999951251411689 , y=2.3764248623097952e-09
迭代次数=626 , x=-4.9999522263834555 , y=2.2823184377419604e-09
迭代次数=627 , x=-4.999953181855786 , y=2.191938627635655e-09
迭代次数=628 , x=-4.99995411821867 , y=2.1051378579959536e-09
迭代次数=629 , x=-4.999955035854297 , y=2.0217743987793774e-09
迭代次数=630 , x=-4.999955935137211 , y=1.9417121326002382e-09
迭代次数=631 , x=-4.999956816434467 , y=1.8648203321630763e-09
迭代次数=632 , x=-4.999957680105777 , y=1.7909734470259572e-09
迭代次数=633 , x=-4.9999585265036615 , y=1.7200508985428839e-09
迭代次数=634 , x=-4.999959355973588 , y=1.6519368829808011e-09
迭代次数=635 , x=-4.999960168854116 , y=1.5865201824161766e-09
迭代次数=636 , x=-4.999960965477034 , y=1.5236939831786281e-09
迭代次数=637 , x=-4.999961746167493 , y=1.4633557014732946e-09
迭代次数=638 , x=-4.999962511244143 , y=1.4054068157029432e-09
迭代次数=639 , x=-4.999963261019261 , y=1.3497527057710864e-09
迭代次数=640 , x=-4.9999639957988755 , y=1.2963024986123184e-09
迭代次数=641 , x=-4.999964715882898 , y=1.2449689196572422e-09
迭代次数=642 , x=-4.99996542156524 , y=1.1956681504486432e-09
迭代次数=643 , x=-4.999966113133935 , y=1.1483196917209746e-09
迭代次数=644 , x=-4.999966790871256 , y=1.1028462319241045e-09
迭代次数=645 , x=-4.999967455053831 , y=1.0591735211503162e-09
迭代次数=646 , x=-4.999968105952754 , y=1.0172302497240946e-09
迭代次数=647 , x=-4.999968743833699 , y=9.769479318605607e-10
迭代次数=648 , x=-4.999969368957025 , y=9.382607937338532e-10
迭代次数=649 , x=-4.999969981577885 , y=9.011056662827961e-10
迭代次数=650 , x=-4.999970581946327 , y=8.654218819115842e-10
迭代次数=651 , x=-4.999971170307401 , y=8.31151175377643e-10
迭代次数=652 , x=-4.999971746901252 , y=7.982375888447334e-10
迭代次数=653 , x=-4.999972311963227 , y=7.666273803245146e-10
迭代次数=654 , x=-4.999972865723962 , y=7.36268936085836e-10
迭代次数=655 , x=-4.999973408409483 , y=7.071126862291182e-10
迭代次数=656 , x=-4.9999739402412935 , y=6.791110238414836e-10
迭代次数=657 , x=-4.999974461436468 , y=6.522182272973608e-10
迭代次数=658 , x=-4.999974972207738 , y=6.263903854981636e-10
迭代次数=659 , x=-4.999975472763584 , y=6.015853262115232e-10
迭代次数=660 , x=-4.999975963308312 , y=5.77762547290131e-10
迭代次数=661 , x=-4.999976444042146 , y=5.548831504023781e-10
迭代次数=662 , x=-4.999976915161303 , y=5.329097776489044e-10
迭代次数=663 , x=-4.9999773768580775 , y=5.118065504443629e-10
迭代次数=664 , x=-4.999977829320916 , y=4.915390110333759e-10
迭代次数=665 , x=-4.999978272734498 , y=4.720740662080328e-10
迭代次数=666 , x=-4.999978707279808 , y=4.5337993318997704e-10
迭代次数=667 , x=-4.999979133134212 , y=4.354260878215685e-10
迭代次数=668 , x=-4.999979550471528 , y=4.1818321474165485e-10
迭代次数=669 , x=-4.999979959462097 , y=4.016231594393093e-10
迭代次数=670 , x=-4.999980360272855 , y=3.857188823310946e-10
迭代次数=671 , x=-4.999980753067398 , y=3.704444145996725e-10
迭代次数=672 , x=-4.999981138006049 , y=3.557748157976082e-10
迭代次数=673 , x=-4.999981515245929 , y=3.416861330802021e-10
迭代次数=674 , x=-4.99998188494101 , y=3.281553622018596e-10
迭代次数=675 , x=-4.99998224724219 , y=3.151604098454212e-10
迭代次数=676 , x=-4.999982602297346 , y=3.0268005762419577e-10
迭代次数=677 , x=-4.9999829502513995 , y=2.906939273404604e-10
迭代次数=678 , x=-4.999983291246371 , y=2.7918244782430795e-10
迭代次数=679 , x=-4.999983625421444 , y=2.681268228927923e-10
迭代次数=680 , x=-4.999983952913015 , y=2.5750900071820997e-10
迭代次数=681 , x=-4.999984273854754 , y=2.4731164428529924e-10
迭代次数=682 , x=-4.999984588377659 , y=2.375181031809094e-10
迭代次数=683 , x=-4.999984896610106 , y=2.2811238629923804e-10
迭代次数=684 , x=-4.999985198677903 , y=2.1907913581493442e-10
迭代次数=685 , x=-4.999985494704345 , y=2.1040360204696966e-10
迭代次数=686 , x=-4.999985784810258 , y=2.0207161939429409e-10
迭代次数=687 , x=-4.999986069114053 , y=1.9406958326924957e-10
迭代次数=688 , x=-4.999986347731772 , y=1.8638442776693703e-10
迭代次数=689 , x=-4.999986620777137 , y=1.7900360441595851e-10
迭代次数=690 , x=-4.999986888361594 , y=1.7191506169273204e-10
迭代次数=691 , x=-4.999987150594362 , y=1.6510722525426488e-10
迭代次数=692 , x=-4.999987407582474 , y=1.5856897913911708e-10
迭代次数=693 , x=-4.999987659430825 , y=1.5228964757353812e-10
迭代次数=694 , x=-4.999987906242208 , y=1.4625897752318116e-10
迭代次数=695 , x=-4.999988148117364 , y=1.404671220221055e-10
迭代次数=696 , x=-4.999988385155016 , y=1.34904623992506e-10
迭代次数=697 , x=-4.999988617451916 , y=1.295624008763369e-10
迭代次数=698 , x=-4.999988845102878 , y=1.2443172979251904e-10
迭代次数=699 , x=-4.999989068200821 , y=1.195042332849678e-10
迭代次数=700 , x=-4.999989286836805 , y=1.1477186563812907e-10
迭代次数=701 , x=-4.999989501100069 , y=1.1022689975624819e-10
迭代次数=702 , x=-4.999989711078068 , y=1.058619145273629e-10
迭代次数=703 , x=-4.9999899168565065 , y=1.016697827102882e-10
迭代次数=704 , x=-4.999990118519376 , y=9.7643659321982e-11
迭代次数=705 , x=-4.999990316148988 , y=9.377697041764807e-11
迭代次数=706 , x=-4.9999905098260085 , y=9.006340238978353e-11
迭代次数=707 , x=-4.999990699629488 , y=8.64968916594435e-11
迭代次数=708 , x=-4.999990885636898 , y=8.307161474746288e-11
迭代次数=709 , x=-4.99999106792416 , y=7.978197880885798e-11
迭代次数=710 , x=-4.999991246565677 , y=7.662261244989312e-11
迭代次数=711 , x=-4.9999914216343635 , y=7.358835699352494e-11
迭代次数=712 , x=-4.999991593201676 , y=7.067425806285341e-11
迭代次数=713 , x=-4.999991761337642 , y=6.787555744356441e-11
迭代次数=714 , x=-4.99999192611089 , y=6.518768536334925e-11
迭代次数=715 , x=-4.999992087588672 , y=6.260625302211732e-11
迭代次数=716 , x=-4.999992245836899 , y=6.012704539610536e-11
迭代次数=717 , x=-4.999992400920161 , y=5.774601440192924e-11
迭代次数=718 , x=-4.999992552901758 , y=5.545927222711508e-11
迭代次数=719 , x=-4.9999927018437225 , y=5.3263085051329125e-11
迭代次数=720 , x=-4.999992847806848 , y=5.1153866889140726e-11
迭代次数=721 , x=-4.999992990850711 , y=4.9128173761326814e-11
迭代次数=722 , x=-4.999993131033697 , y=4.7182698075985644e-11
迭代次数=723 , x=-4.999993268413022 , y=4.531426323719885e-11
迭代次数=724 , x=-4.999993403044762 , y=4.3519818413240144e-11
迭代次数=725 , x=-4.999993534983867 , y=4.1796433601319634e-11
迭代次数=726 , x=-4.999993664284189 , y=4.0141294833408456e-11
迭代次数=727 , x=-4.999993790998506 , y=3.855169955602019e-11
迭代次数=728 , x=-4.9999939151785355 , y=3.702505225446649e-11
迭代次数=729 , x=-4.9999940368749645 , y=3.555886018942667e-11
迭代次数=730 , x=-4.999994156137465 , y=3.4150729330492925e-11
迭代次数=731 , x=-4.999994273014716 , y=3.2798360445749986e-11
迭代次数=732 , x=-4.9999943875544215 , y=3.14995453716995e-11
迭代次数=733 , x=-4.999994499803333 , y=3.0252163375761825e-11
迭代次数=734 , x=-4.999994609807266 , y=2.905417770895413e-11
迭代次数=735 , x=-4.999994717611121 , y=2.790363227111654e-11
迭代次数=736 , x=-4.999994823258898 , y=2.679864843262858e-11
迭代次数=737 , x=-4.99999492679372 , y=2.5737421959022165e-11
迭代次数=738 , x=-4.999995028257846 , y=2.4718220045558988e-11
迭代次数=739 , x=-4.9999951276926895 , y=2.3739378527946672e-11
迭代次数=740 , x=-4.999995225138836 , y=2.2799299137731072e-11
迭代次数=741 , x=-4.999995320636059 , y=2.189644689021448e-11
迭代次数=742 , x=-4.9999954142233385 , y=2.1029347589289e-11
迭代次数=743 , x=-4.999995505938871 , y=2.019658542730773e-11
迭代次数=744 , x=-4.999995595820094 , y=1.9396800645325152e-11
迭代次数=745 , x=-4.999995683903692 , y=1.8628687339156923e-11
迭代次数=746 , x=-4.999995770225619 , y=1.7890991317671143e-11
迭代次数=747 , x=-4.9999958548211065 , y=1.718250805884057e-11
迭代次数=748 , x=-4.999995937724685 , y=1.6502080736824065e-11
迭代次数=749 , x=-4.999996018970191 , y=1.58485983395044e-11
迭代次数=750 , x=-4.999996098590787 , y=1.522099384401257e-11
迭代次数=751 , x=-4.999996176618971 , y=1.4618242490370516e-11
迭代次数=752 , x=-4.999996253086592 , y=1.403936008695314e-11
迭代次数=753 , x=-4.99999632802486 , y=1.348340142842298e-11
迭代次数=754 , x=-4.9999964014643625 , y=1.2949458734158652e-11
迭代次数=755 , x=-4.9999964734350755 , y=1.2436660166907792e-11
迭代次数=756 , x=-4.999996543966374 , y=1.1944168426753903e-11
迭代次数=757 , x=-4.999996613087046 , y=1.1471179355610521e-11
迭代次数=758 , x=-4.999996680825306 , y=1.1016920650652008e-11
迭代次数=759 , x=-4.9999967472088 , y=1.058065059045938e-11
迭代次数=760 , x=-4.999996812264624 , y=1.0161656828096447e-11
迭代次数=761 , x=-4.999996876019331 , y=9.759255219146648e-12
迭代次数=762 , x=-4.999996938498945 , y=9.372788711815842e-12
迭代次数=763 , x=-4.999996999728966 , y=9.001626279147707e-12
迭代次数=764 , x=-4.999997059734387 , y=8.645161876195355e-12
迭代次数=765 , x=-4.999997118539699 , y=8.30281346385062e-12
迭代次数=766 , x=-4.999997176168906 , y=7.974022049076973e-12
迭代次数=767 , x=-4.999997232645527 , y=7.658250777506583e-12
迭代次数=768 , x=-4.999997287992617 , y=7.354984046042874e-12
迭代次数=769 , x=-4.999997342232764 , y=7.063726678763804e-12
迭代次数=770 , x=-4.999997395388109 , y=6.784003100711673e-12
迭代次数=771 , x=-4.9999974474803475 , y=6.515356576563234e-12
迭代次数=772 , x=-4.999997498530741 , y=6.25734845515376e-12
迭代次数=773 , x=-4.999997548560126 , y=6.009557456852227e-12
迭代次数=774 , x=-4.999997597588924 , y=5.77157897951246e-12
迭代次数=775 , x=-4.999997645637145 , y=5.543024452509273e-12
迭代次数=776 , x=-4.999997692724402 , y=5.3235206857473524e-12
迭代次数=777 , x=-4.999997738869914 , y=5.11270926506546e-12
迭代次数=778 , x=-4.999997784092516 , y=4.910245978405042e-12
迭代次数=779 , x=-4.999997828410666 , y=4.715800236117195e-12
迭代次数=780 , x=-4.999997871842453 , y=4.5290545451792e-12
迭代次数=781 , x=-4.999997914405604 , y=4.349703984004581e-12
迭代次数=782 , x=-4.999997956117492 , y=4.177455705221413e-12
迭代次数=783 , x=-4.999997996995143 , y=4.01202845751562e-12
迭代次数=784 , x=-4.99999803705524 , y=3.8531521293427204e-12
迭代次数=785 , x=-4.999998076314135 , y=3.700567306524296e-12
迭代次数=786 , x=-4.999998114787853 , y=3.554024840248267e-12
迭代次数=787 , x=-4.999998152492096 , y=3.413285455327339e-12
迭代次数=788 , x=-4.9999981894422545 , y=3.278119349816926e-12
迭代次数=789 , x=-4.9999982256534095 , y=3.1483058233750634e-12
迭代次数=790 , x=-4.999998261140341 , y=3.0236329134489545e-12
迭代次数=791 , x=-4.999998295917535 , y=2.90389704874447e-12
迭代次数=792 , x=-4.999998329999184 , y=2.7889027249615554e-12
迭代次数=793 , x=-4.9999983633992 , y=2.678462177808946e-12
迭代次数=794 , x=-4.999998396131216 , y=2.5723950748839417e-12
迭代次数=795 , x=-4.999998428208592 , y=2.470528230700315e-12
迭代次数=796 , x=-4.99999845964442 , y=2.3726953127645826e-12
迭代次数=797 , x=-4.9999984904515316 , y=2.278736578593625e-12
迭代次数=798 , x=-4.999998520642501 , y=2.1884986090301706e-12
迭代次数=799 , x=-4.999998550229651 , y=2.1018340651426995e-12
迭代次数=800 , x=-4.999998579225058 , y=2.018601436213525e-12
迭代次数=801 , x=-4.999998607640556 , y=1.9386648205761328e-12
迭代次数=802 , x=-4.999998635487745 , y=1.861893694553908e-12
迭代次数=803 , x=-4.9999986627779895 , y=1.788162705247234e-12
迭代次数=804 , x=-4.99999868952243 , y=1.717351461514196e-12
迭代次数=805 , x=-4.999998715731981 , y=1.6493443447332665e-12
迭代次数=806 , x=-4.9999987414173415 , y=1.5840303083688323e-12
迭代次数=807 , x=-4.999998766588995 , y=1.5213027080697874e-12
迭代次数=808 , x=-4.999998791257215 , y=1.4610591202290195e-12
迭代次数=809 , x=-4.999998815432071 , y=1.403201178605023e-12
迭代次数=810 , x=-4.999998839123429 , y=1.347634412798359e-12
迭代次数=811 , x=-4.99999886234096 , y=1.2942680909811527e-12
迭代次数=812 , x=-4.999998885094141 , y=1.243015074855565e-12
迭代次数=813 , x=-4.999998907392258 , y=1.1937916780077362e-12
迭代次数=814 , x=-4.999998929244413 , y=1.1465175277488343e-12
迭代次数=815 , x=-4.999998950659524 , y=1.1011154342464614e-12
迭代次数=816 , x=-4.999998971646334 , y=1.057511262831095e-12
迭代次数=817 , x=-4.999998992213407 , y=1.015633816715572e-12
迭代次数=818 , x=-4.999999012369139 , y=9.754147169069692e-13
迭代次数=819 , x=-4.999999032121757 , y=9.367882939111376e-13
迭代次数=820 , x=-4.999999051479321 , y=8.996914782810139e-13
迭代次数=821 , x=-4.999999070449735 , y=8.640636955429402e-13
迭代次数=822 , x=-4.99999908904074 , y=8.298467734259863e-13
迭代次数=823 , x=-4.999999107259925 , y=7.969848410714512e-13
迭代次数=824 , x=-4.999999125114726 , y=7.654242418934186e-13
迭代次数=825 , x=-4.999999142612432 , y=7.351134418535182e-13
迭代次数=826 , x=-4.999999159760184 , y=7.060029490486465e-13
迭代次数=827 , x=-4.99999917656498 , y=6.780452317104886e-13
迭代次数=828 , x=-4.9999991930336805 , y=6.511946408787836e-13
迭代次数=829 , x=-4.999999209173007 , y=6.254073332123671e-13
迭代次数=830 , x=-4.999999224989547 , y=6.006412024867505e-13
迭代次数=831 , x=-4.999999240489756 , y=5.768558107873256e-13
迭代次数=832 , x=-4.999999255679961 , y=5.540123210239138e-13
迭代次数=833 , x=-4.999999270566361 , y=5.320734334482578e-13
迭代次数=834 , x=-4.999999285155034 , y=5.11003325890049e-13
迭代次数=835 , x=-4.999999299451933 , y=4.907675937119222e-13
迭代次数=836 , x=-4.999999313462895 , y=4.713331970741022e-13
迭代次数=837 , x=-4.9999993271936365 , y=4.526684027807052e-13
迭代次数=838 , x=-4.999999340649763 , y=4.3474273454593547e-13
迭代次数=839 , x=-4.999999353836768 , y=4.1752692271704303e-13
迭代次数=840 , x=-4.999999366760032 , y=4.009928570948838e-13
迭代次数=841 , x=-4.999999379424831 , y=3.8511354041691883e-13
迭代次数=842 , x=-4.999999391836335 , y=3.69863043676251e-13
迭代次数=843 , x=-4.999999403999608 , y=3.5521646744311007e-13
迭代次数=844 , x=-4.999999415919616 , y=3.4114989504185306e-13
迭代次数=845 , x=-4.999999427601224 , y=3.276403591981957e-13
迭代次数=846 , x=-4.9999994390491995 , y=3.1466580055543866e-13
迭代次数=847 , x=-4.9999994502682155 , y=3.0220503493156486e-13
迭代次数=848 , x=-4.999999461262851 , y=2.9023771583537174e-13
迭代次数=849 , x=-4.999999472037594 , y=2.7874430240083295e-13
迭代次数=850 , x=-4.9999994825968415 , y=2.6770602846692443e-13
迭代次数=851 , x=-4.999999492944904 , y=2.571048700638901e-13
迭代次数=852 , x=-4.9999995030860065 , y=2.4692351694455107e-13
迭代次数=853 , x=-4.999999513024286 , y=2.3714534600226306e-13
迭代次数=854 , x=-4.9999995227638 , y=2.2775439048707664e-13
迭代次数=855 , x=-4.999999532308524 , y=2.1873531650747823e-13
迭代次数=856 , x=-4.999999541662354 , y=2.1007339779466444e-13
迭代次数=857 , x=-4.999999550829107 , y=2.0175449144944655e-13
迭代次数=858 , x=-4.999999559812524 , y=1.9376501385390467e-13
迭代次数=859 , x=-4.999999568616274 , y=1.860919191213801e-13
迭代次数=860 , x=-4.9999995772439485 , y=1.7872267907911553e-13
迭代次数=861 , x=-4.9999995856990695 , y=1.716452609728636e-13
迭代次数=862 , x=-4.9999995939850885 , y=1.6484810833542273e-13
迭代次数=863 , x=-4.999999602105387 , y=1.5832012325947603e-13
迭代次数=864 , x=-4.999999610063279 , y=1.5205064648922747e-13
迭代次数=865 , x=-4.999999617862013 , y=1.4602944113262688e-13
迭代次数=866 , x=-4.999999625504772 , y=1.402466755830887e-13
迭代次数=867 , x=-4.999999632994677 , y=1.3469290712568921e-13
迭代次数=868 , x=-4.999999640334783 , y=1.293590681185128e-13
迭代次数=869 , x=-4.999999647528088 , y=1.242364488206626e-13
迭代次数=870 , x=-4.999999654577526 , y=1.1931668536146127e-13
迭代次数=871 , x=-4.999999661485976 , y=1.1459174439264514e-13
迭代次数=872 , x=-4.999999668256256 , y=1.1005391140898364e-13
迭代次数=873 , x=-4.999999674891131 , y=1.056957765171879e-13
迭代次数=874 , x=-4.999999681393309 , y=1.0151022371051133e-13
迭代次数=875 , x=-4.999999687765443 , y=9.749041878501829e-14
迭代次数=876 , x=-4.999999694010134 , y=9.362979829897005e-14
迭代次数=877 , x=-4.999999700129931 , y=8.992205841417315e-14
迭代次数=878 , x=-4.9999997061273325 , y=8.636114472348416e-14
迭代次数=879 , x=-4.999999712004786 , y=8.2941243484519e-14
迭代次数=880 , x=-4.99999971776469 , y=7.965677009212686e-14
迭代次数=881 , x=-4.999999723409396 , y=7.650236208491688e-14
迭代次数=882 , x=-4.999999728941209 , y=7.347286840190503e-14
迭代次数=883 , x=-4.999999734362384 , y=7.056334298306178e-14
迭代次数=884 , x=-4.999999739675136 , y=6.776903475815869e-14
迭代次数=885 , x=-4.999999744881634 , y=6.508538089109935e-14
迭代次数=886 , x=-4.999999749984001 , y=6.250799976340005e-14
迭代次数=887 , x=-4.999999754984321 , y=6.003268288572235e-14
迭代次数=888 , x=-4.999999759884635 , y=5.765538847283553e-14
迭代次数=889 , x=-4.999999764686942 , y=5.537223523143122e-14
迭代次数=890 , x=-4.999999769393203 , y=5.3179494716266545e-14
迭代次数=891 , x=-4.999999774005339 , y=5.10735868941102e-14
迭代次数=892 , x=-4.999999778525232 , y=4.905107299473399e-14
迭代次数=893 , x=-4.999999782954727 , y=4.7108650666073466e-14
迭代次数=894 , x=-4.999999787295632 , y=4.524314812236729e-14
迭代次数=895 , x=-4.99999979154972 , y=4.345151929379743e-14
迭代次数=896 , x=-4.999999795718725 , y=4.173083913702058e-14
迭代次数=897 , x=-4.999999799804351 , y=4.007829803521737e-14
迭代次数=898 , x=-4.999999803808263 , y=3.849119752363446e-14
迭代次数=899 , x=-4.999999807732098 , y=3.696694615634436e-14
迭代次数=900 , x=-4.999999811577456 , y=3.55030551755766e-14
迭代次数=901 , x=-4.999999815345907 , y=3.4097134026617984e-14
迭代次数=902 , x=-4.999999819038989 , y=3.2746887364867276e-14
迭代次数=903 , x=-4.99999982265821 , y=3.145011053071184e-14
迭代次数=904 , x=-4.999999826205046 , y=3.020468618456784e-14
迭代次数=905 , x=-4.999999829680944 , y=2.9008580750830764e-14
迭代次数=906 , x=-4.999999833087325 , y=2.785984100646723e-14
迭代次数=907 , x=-4.999999836425578 , y=2.6756591389781092e-14
迭代次数=908 , x=-4.999999839697067 , y=2.569703023406326e-14
迭代次数=909 , x=-4.999999842903126 , y=2.467942787586277e-14
迭代次数=910 , x=-4.999999846045063 , y=2.370212256479607e-14
迭代次数=911 , x=-4.999999849124162 , y=2.276351850586996e-14
迭代次数=912 , x=-4.999999852141679 , y=2.1862083131013648e-14
迭代次数=913 , x=-4.999999855098845 , y=2.099634474198397e-14
迭代次数=914 , x=-4.999999857996868 , y=2.016488947506651e-14
迭代次数=915 , x=-4.9999998608369305 , y=1.9366359916126727e-14
迭代次数=916 , x=-4.999999863620192 , y=1.8599452000460715e-14
迭代次数=917 , x=-4.999999866347788 , y=1.7862913762970116e-14
迭代次数=918 , x=-4.999999869020832 , y=1.7155542438449592e-14
迭代次数=919 , x=-4.999999871640416 , y=1.6476182880362765e-14
迭代次数=920 , x=-4.9999998742076075 , y=1.5823726011486137e-14
迭代次数=921 , x=-4.9999998767234555 , y=1.5197106430773648e-14
迭代次数=922 , x=-4.999999879188986 , y=1.459530101611501e-14
迭代次数=923 , x=-4.9999998816052065 , y=1.401732713373291e-14
迭代次数=924 , x=-4.999999883973103 , y=1.3462240925649742e-14
迭代次数=925 , x=-4.99999988629364 , y=1.2929136277906224e-14
迭代次数=926 , x=-4.999999888567768 , y=1.2417142402123774e-14
迭代次数=927 , x=-4.9999998907964125 , y=1.1925423524202764e-14
迭代次数=928 , x=-4.999999892980484 , y=1.1453176786863208e-14
迭代次数=929 , x=-4.999999895120874 , y=1.099963103454214e-14
迭代次数=930 , x=-4.999999897218457 , y=1.0564045638271204e-14
迭代次数=931 , x=-4.999999899274088 , y=1.0145709359425598e-14
迭代次数=932 , x=-4.999999901288606 , y=9.743939251257678e-15
迭代次数=933 , x=-4.999999903262834 , y=9.35807925347108e-15
迭代次数=934 , x=-4.999999905197577 , y=8.987499368922563e-15
迭代次数=935 , x=-4.999999907093626 , y=8.631594357605558e-15
迭代次数=936 , x=-4.999999908951754 , y=8.289783149881341e-15
迭代次数=937 , x=-4.999999910772718 , y=7.961507775185918e-15
迭代次数=938 , x=-4.999999912557264 , y=7.646232030009475e-15
迭代次数=939 , x=-4.999999914306119 , y=7.343441296421347e-15
迭代次数=940 , x=-4.999999916019997 , y=7.0526409703623885e-15
迭代次数=941 , x=-4.999999917699597 , y=6.773356323610289e-15
迭代次数=942 , x=-4.999999919345605 , y=6.505131459042037e-15
迭代次数=943 , x=-4.999999920958693 , y=6.2475281858693006e-15
迭代次数=944 , x=-4.999999922539519 , y=6.000126069708876e-15
迭代次数=945 , x=-4.999999924088729 , y=5.7625210719545845e-15
迭代次数=946 , x=-4.9999999256069545 , y=5.53432521900438e-15
迭代次数=947 , x=-4.999999927094815 , y=5.315165999904393e-15
迭代次数=948 , x=-4.999999928552919 , y=5.104685403463387e-15
迭代次数=949 , x=-4.99999992998186 , y=4.902539891336765e-15
迭代次数=950 , x=-4.999999931382223 , y=4.708399353082313e-15
迭代次数=951 , x=-4.999999932754578 , y=4.521946736311216e-15
迭代次数=952 , x=-4.9999999340994865 , y=4.342877678330884e-15
迭代次数=953 , x=-4.999999935417497 , y=4.170899680969215e-15
迭代次数=954 , x=-4.999999936709147 , y=4.00573201762615e-15
迭代次数=955 , x=-4.999999937974964 , y=3.847105062781733e-15
迭代次数=956 , x=-4.999999939215465 , y=3.694759663424568e-15
迭代次数=957 , x=-4.999999940431156 , y=3.5484471849855757e-15
迭代次数=958 , x=-4.999999941622533 , y=3.4079286889040525e-15
迭代次数=959 , x=-4.999999942790082 , y=3.2729746823358834e-15
迭代次数=960 , x=-4.999999943934281 , y=3.143364866988692e-15
迭代次数=961 , x=-4.999999945055595 , y=3.0188875948317313e-15
迭代次数=962 , x=-4.9999999461544835 , y=2.8993396460763947e-15
迭代次数=963 , x=-4.999999947231394 , y=2.7845258185883794e-15
迭代次数=964 , x=-4.999999948286765 , y=2.6742586310795195e-15
迭代次数=965 , x=-4.9999999493210305 , y=2.568357946077282e-15
迭代次数=966 , x=-4.99999995033461 , y=2.4666509661192143e-15
迭代次数=967 , x=-4.999999951327918 , y=2.3689716016943313e-15
迭代次数=968 , x=-4.999999952301359 , y=2.275160314405063e-15
迭代次数=969 , x=-4.999999953255332 , y=2.1850639576511013e-15
迭代次数=970 , x=-4.999999954190225 , y=2.09853545259545e-15
迭代次数=971 , x=-4.9999999551064205 , y=2.015433482166417e-15
迭代次数=972 , x=-4.9999999560042925 , y=1.9356222803226718e-15
迭代次数=973 , x=-4.999999956884206 , y=1.858971657935043e-15
迭代次数=974 , x=-4.999999957746522 , y=1.785356407301427e-15
迭代次数=975 , x=-4.999999958591592 , y=1.714656274447702e-15
迭代次数=976 , x=-4.9999999594197595 , y=1.6467559191386671e-15
迭代次数=977 , x=-4.9999999602313645 , y=1.5815443691992526e-15
迭代次数=978 , x=-4.999999961026737 , y=1.5189152163327875e-15
迭代次数=979 , x=-4.9999999618062025 , y=1.4587661642675952e-15
迭代次数=980 , x=-4.999999962570079 , y=1.4009990148541529e-15
迭代次数=981 , x=-4.999999963318677 , y=1.3455194473500166e-15
迭代次数=982 , x=-4.999999964052304 , y=1.2922368746807184e-15
迭代次数=983 , x=-4.999999964771257 , y=1.2410643044559728e-15
迭代次数=984 , x=-4.9999999654758325 , y=1.1919181432809784e-15
迭代次数=985 , x=-4.999999966166316 , y=1.1447181932211491e-15
迭代次数=986 , x=-4.9999999668429895 , y=1.0993873433458025e-15
迭代次数=987 , x=-4.999999967506129 , y=1.0558516334096632e-15
迭代次数=988 , x=-4.999999968156007 , y=1.014039904201337e-15
迭代次数=989 , x=-4.999999968792887 , y=9.738839228862646e-16
迭代次数=990 , x=-4.999999969417029 , y=9.35318104328613e-16
迭代次数=991 , x=-4.999999970028688 , y=8.982795223043283e-16
迭代次数=992 , x=-4.999999970628115 , y=8.6270765009058e-16
迭代次数=993 , x=-4.999999971215552 , y=8.2854443021488e-16
迭代次数=994 , x=-4.999999971791241 , y=7.957340777936058e-16
迭代次数=995 , x=-4.9999999723554165 , y=7.642229975095171e-16
迭代次数=996 , x=-4.999999972908308 , y=7.339597514082964e-16
迭代次数=997 , x=-4.999999973450143 , y=7.048949292174407e-16
迭代次数=998 , x=-4.99999997398114 , y=6.769810733816692e-16
迭代次数=999 , x=-4.999999974501518 , y=6.501726065697697e-16
迭代次数=1000 , x=-4.999999975011487 , y=6.244257615841334e-16
plt.figure()
plt.scatter(range(max_iter),y_list)
plt.show()