老师要求有能力的同学用计算机求e小数点后25位,于是用一天的时间写了这样的一个程序。 前边的计算过程被抹掉,就剩下后面一些了。一直到200的阶乘。另外倒数是约数。后面的都是0了,所以前三百位都是准确的:
e ≈ 2.7182818284590452353602874713526624977572470936999595749669676277240766303
53547594571382178525166427427466391932003059921817413596629043572900334295260595
63073813232862794349076323382988075319525101901157383418793070215408914993488416
7509244761460668082264800168477411853742345442437107539077744991981
190! = 9680322675255249156123346514615331205418161260462873360750859919944104623
42522820764047067493354016942468236052599198291616159698344959404552555370425360
22874431977832746569570565463387830013404340947950975532296202730574402722987731
79365935914105128629426348958748638226084106818484328004851174161755668480000000
000000000000000000000000000000000000000
1/968032267525524915612334651461533120541816126046287336075085991994410462342522
82076404706749335401694246823605259919829161615969834495940455255537042536022874
43197783274656957056546338783001340434094795097553229620273057440272298773179365
93591410512862942634895874863822608410681848432800485117416175566848000000000000
0000000000000000000000000000000000 = 0.00000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000
小数点后25位(含)以内已经准确。
e ≈ 2.7182818284590452353602874713526624977572470936999595749669676277240766303
53547594571382178525166427427466391932003059921817413596629043572900334295260595
63073813232862794349076323382988075319525101901157383418793070215408914993488416
7509244761460668082264800168477411853742345442437107539077744991981
191! = 1848941630973752588819559184291528260234868800748408811903414244709323983
07421858765932989891230617236011433086046446873698686502383887246269538075751243
80369016507766054594787978003507075532560229121058636326668574721539710920090656
77258893759594079568220432651120989901182064402330506648926574264895332679680000
000000000000000000000000000000000000000000
1/184894163097375258881955918429152826023486880074840881190341424470932398307421
85876593298989123061723601143308604644687369868650238388724626953807575124380369
01650776605459478797800350707553256022912105863632666857472153971092009065677258
89375959407956822043265112098990118206440233050664892657426489533267968000000000
0000000000000000000000000000000000000 = 0.00000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000
小数点后25位(含)以内已经准确。
e ≈ 2.7182818284590452353602874713526624977572470936999595749669676277240766303
53547594571382178525166427427466391932003059921817413596629043572900334295260595
63073813232862794349076323382988075319525101901157383418793070215408914993488416
7509244761460668082264800168477411853742345442437107539077744991981
192! = 3549967931469604970533553633839734259650948097436944918854555349841902047
50249968830591340591162785093141951525209177997501478084577063512837513105442388
10308511694910824821992917766733585022515639912432581747203663465356244966574061
00337076018420632770983230690152300610269563652474572765939022588599038744985600
00000000000000000000000000000000000000000000
1/354996793146960497053355363383973425965094809743694491885455534984190204750249
96883059134059116278509314195152520917799750147808457706351283751310544238810308
51169491082482199291776673358502251563991243258174720366346535624496657406100337
07601842063277098323069015230061026956365247457276593902258859903874498560000000
000000000000000000000000000000000000000 = 0.000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000
小数点后25位(含)以内已经准确。
e ≈ 2.7182818284590452353602874713526624977572470936999595749669676277240766303
53547594571382178525166427427466391932003059921817413596629043572900334295260595
63073813232862794349076323382988075319525101901157383418793070215408914993488416
7509244761460668082264800168477411853742345442437107539077744991981
193! = 6851438107736337593129758513310687121126329828053303693389291825194870951
67982439843041287340944175229763966443653713535177852703233732579776400293503809
03895427571177891906446331289795819093455185030994882772103070488137552785487937
73650556715551821247997635231993940177820257849275925438262313595996144777822208
0000000000000000000000000000000000000000000000
1/685143810773633759312975851331068712112632982805330369338929182519487095167982
43984304128734094417522976396644365371353517785270323373257977640029350380903895
42757117789190644633128979581909345518503099488277210307048813755278548793773650
55671555182124799763523199394017782025784927592543826231359599614477782220800000
00000000000000000000000000000000000000000 = 0.0000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000
小数点后25位(含)以内已经准确。
e ≈ 2.7182818284590452353602874713526624977572470936999595749669676277240766303
53547594571382178525166427427466391932003059921817413596629043572900334295260595
63073813232862794349076323382988075319525101901157383418793070215408914993488416
7509244761460668082264800168477411853742345442437107539077744991981
194! = 1329178992900849493067173151582273301498507986642340916517522614087804964
62588593329550009744143169994574209490068820425824503424427344120476621656939738
95355712948808511029850588270220388904130305896013007257787995674698685240384659
92088208002817053322111541235006824394497130022759529535022888837623252086897508
3520000000000000000000000000000000000000000000000
1/132917899290084949306717315158227330149850798664234091651752261408780496462588
59332955000974414316999457420949006882042582450342442734412047662165693973895355
71294880851102985058827022038890413030589601300725778799567469868524038465992088
20800281705332211154123500682439449713002275952953502288883762325208689750835200
00000000000000000000000000000000000000000000 = 0.0000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000
小数点后25位(含)以内已经准确。
e ≈ 2.7182818284590452353602874713526624977572470936999595749669676277240766303
53547594571382178525166427427466391932003059921817413596629043572900334295260595
63073813232862794349076323382988075319525101901157383418793070215408914993488416
7509244761460668082264800168477411853742345442437107539077744991981
195! = 2591899036156656511480987645585432937922090573952564787209169097471219681
02047756992622519001079181489419708505634199830357781677633321034929412231032490
95943640250176596508208647126929758363054096497225364152686591565662436218750086
84572005605493253978117505408263307569269403544381082593294633233365341569450141
286400000000000000000000000000000000000000000000000
1/259189903615665651148098764558543293792209057395256478720916909747121968102047
75699262251900107918148941970850563419983035778167763332103492941223103249095943
64025017659650820864712692975836305409649722536415268659156566243621875008684572
00560549325397811750540826330756926940354438108259329463323336534156945014128640
0000000000000000000000000000000000000000000000 = 0.00000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000
小数点后25位(含)以内已经准确。
e ≈ 2.7182818284590452353602874713526624977572470936999595749669676277240766303
53547594571382178525166427427466391932003059921817413596629043572900334295260595
63073813232862794349076323382988075319525101901157383418793070215408914993488416
7509244761460668082264800168477411853742345442437107539077744991981
196! = 5080122110867046762502735785347448558327297524947026982929971431043590574
80013603705540137242115195719262628671043031667501252088161309228461647972823682
28049534890346129156088948368782326391586029134561713739265719468698374988750170
21761130986766777797110310600196082835768030946986921882857481137396069476122276
92134400000000000000000000000000000000000000000000000
1/508012211086704676250273578534744855832729752494702698292997143104359057480013
60370554013724211519571926262867104303166750125208816130922846164797282368228049
53489034612915608894836878232639158602913456171373926571946869837498875017021761
13098676677779711031060019608283576803094698692188285748113739606947612227692134
400000000000000000000000000000000000000000000000 = 0.000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000
小数点后25位(含)以内已经准确。
e ≈ 2.7182818284590452353602874713526624977572470936999595749669676277240766303
53547594571382178525166427427466391932003059921817413596629043572900334295260595
63073813232862794349076323382988075319525101901157383418793070215408914993488416
7509244761460668082264800168477411853742345442437107539077744991981
197! = 1000784055840808212213038949713447365990477612414564315637204371915587343
23562679929991407036696693556694737848195477238497746661367777918006944650646265
40925758373398187443749522828650118299142447739508657606635346735333579872783783
53286942804393055226030731188238628318646302096556423610922923784067025686796088
55350476800000000000000000000000000000000000000000000000
1/100078405584080821221303894971344736599047761241456431563720437191558734323562
67992999140703669669355669473784819547723849774666136777791800694465064626540925
75837339818744374952282865011829914244773950865760663534673533357987278378353286
94280439305522603073118823862831864630209655642361092292378406702568679608855350
476800000000000000000000000000000000000000000000000 = 0.000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000
小数点后25位(含)以内已经准确。
e ≈ 2.7182818284590452353602874713526624977572470936999595749669676277240766303
53547594571382178525166427427466391932003059921817413596629043572900334295260595
63073813232862794349076323382988075319525101901157383418793070215408914993488416
7509244761460668082264800168477411853742345442437107539077744991981
198! = 1981552430564800260181817120432625784661145672580837344961664656392862939
60654106261382985932659453242255580939427044932225538389508200277653750408279605
51033001579328411138624055200727234232302046524227142061137986535960488148111891
39508146752698249347540847752712484070919678151181718749627389092452710859856255
3359394406400000000000000000000000000000000000000000000000
1/198155243056480026018181712043262578466114567258083734496166465639286293960654
10626138298593265945324225558093942704493222553838950820027765375040827960551033
00157932841113862405520072723423230204652422714206113798653596048814811189139508
14675269824934754084775271248407091967815118171874962738909245271085985625533593
94406400000000000000000000000000000000000000000000000 = 0.0000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000
小数点后25位(含)以内已经准确。
e ≈ 2.7182818284590452353602874713526624977572470936999595749669676277240766303
53547594571382178525166427427466391932003059921817413596629043572900334295260595
63073813232862794349076323382988075319525101901157383418793070215408914993488416
7509244761460668082264800168477411853742345442437107539077744991981
199! = 3943289336823952517761816069660925311475679888435866316473712666221797249
81701671460152142005992311952088606069459819415128821395121318552530963312476414
96555673142863538165861869849447196122281072583212012701664593206561371414742663
87621212037869516201606287027897843301130159520851620311758504293980894611113948
118519486873600000000000000000000000000000000000000000000000
1/394328933682395251776181606966092531147567988843586631647371266622179724981701
67146015214200599231195208860606945981941512882139512131855253096331247641496555
67314286353816586186984944719612228107258321201270166459320656137141474266387621
21203786951620160628702789784330113015952085162031175850429398089461111394811851
9486873600000000000000000000000000000000000000000000000 = 0.00000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000
小数点后25位(含)以内已经准确。
e ≈ 2.7182818284590452353602874713526624977572470936999595749669676277240766303
53547594571382178525166427427466391932003059921817413596629043572900334295260595
63073813232862794349076323382988075319525101901157383418793070215408914993488416
7509244761460668082264800168477411853742345442437107539077744991981
200! = 7886578673647905035523632139321850622951359776871732632947425332443594499
63403342920304284011984623904177212138919638830257642790242637105061926624952829
93111346285727076331723739698894392244562145166424025403329186413122742829485327
75242424075739032403212574055795686602260319041703240623517008587961789222227896
23703897374720000000000000000000000000000000000000000000000000
1/788657867364790503552363213932185062295135977687173263294742533244359449963403
34292030428401198462390417721213891963883025764279024263710506192662495282993111
34628572707633172373969889439224456214516642402540332918641312274282948532775242
42407573903240321257405579568660226031904170324062351700858796178922222789623703
897374720000000000000000000000000000000000000000000000000 = 0.000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000
小数点后25位(含)以内已经准确。
e ≈ 2.7182818284590452353602874713526624977572470936999595749669676277240766303
53547594571382178525166427427466391932003059921817413596629043572900334295260595
63073813232862794349076323382988075319525101901157383418793070215408914993488416
7509244761460668082264800168477411853742345442437107539077744991981