Monte Carlo methodWord文档下载推荐.docx

上传人:b****6 文档编号:16551452 上传时间:2022-11-24 格式:DOCX 页数:28 大小:287.55KB
下载 相关 举报
Monte Carlo methodWord文档下载推荐.docx_第1页
第1页 / 共28页
Monte Carlo methodWord文档下载推荐.docx_第2页
第2页 / 共28页
Monte Carlo methodWord文档下载推荐.docx_第3页
第3页 / 共28页
Monte Carlo methodWord文档下载推荐.docx_第4页
第4页 / 共28页
Monte Carlo methodWord文档下载推荐.docx_第5页
第5页 / 共28页
点击查看更多>>
下载资源
资源描述

Monte Carlo methodWord文档下载推荐.docx

《Monte Carlo methodWord文档下载推荐.docx》由会员分享,可在线阅读,更多相关《Monte Carlo methodWord文档下载推荐.docx(28页珍藏版)》请在冰豆网上搜索。

Monte Carlo methodWord文档下载推荐.docx

Dataanalysis 

Visualization

Potentials[show]

Lennard-Jonespotential 

Yukawapotential 

Morsepotential

Fluiddynamics[show]

Finiteelement 

Riemannsolver

Smoothedparticlehydrodynamics

MonteCarlomethods[show]

Integration 

Gibbssampling 

Metropolisalgorithm

Particle[show]

N-body 

Particle-in-cell

Moleculardynamics

Scientists[show]

Godunov 

Ulam 

vonNeumann

∙v

∙t

∙e

MonteCarlomethods(orMonteCarloexperiments)areaclassofcomputationalalgorithmsthatrelyonrepeatedrandomsamplingtocomputetheirresults.MonteCarlomethodsareoftenusedincomputersimulationsofphysicalandmathematicalsystems.Thesemethodsaremostsuitedtocalculationbyacomputerandtendtobeusedwhenitisinfeasibletocomputeanexactresultwithadeterministicalgorithm.[1]Thismethodisalsousedtocomplementtheoreticalderivations.

MonteCarlomethodsareespeciallyusefulforsimulatingsystemswithmanycoupleddegreesoffreedom,suchasfluids,disorderedmaterials,stronglycoupledsolids,andcellularstructures(seecellularPottsmodel).Theyareusedtomodelphenomenawithsignificantuncertaintyininputs,suchasthecalculationofriskinbusiness.Theyarewidelyusedinmathematics,forexampletoevaluatemultidimensionaldefiniteintegralswithcomplicatedboundaryconditions.WhenMonteCarlosimulationshavebeenappliedinspaceexplorationandoilexploration,theirpredictionsoffailures,costoverrunsandscheduleoverrunsareroutinelybetterthanhumanintuitionoralternative"

soft"

methods.[2]

TheMonteCarlomethodwascoinedinthe1940sbyJohnvonNeumann,StanislawUlamandNicholasMetropolis,whiletheywereworkingonnuclearweaponprojects(ManhattanProject)intheLosAlamosNationalLaboratory.ItwasnamedaftertheMonteCarloCasino,afamouscasinowhereUlam'

suncleoftengambledawayhismoney.[3]

Contents

[hide] 

∙1Introduction

∙2History

∙3Definitions

o3.1MonteCarloandrandomnumbers

o3.2MonteCarlosimulationversus"

whatif"

scenarios

∙4Applications

o4.1Physicalsciences

o4.2Engineering

o4.3Computationalbiology

o4.4ComputerGraphics

o4.5Appliedstatistics

o4.6Games

o4.7Designandvisuals

o4.8Financeandbusiness

o4.9Telecommunications

∙5Useinmathematics

o5.1Integration

o5.2Simulation-Optimization

o5.3Inverseproblems

o5.4Computationalmathematics

∙6Seealso

∙7Notes

∙8References

∙9Externallinks

[edit]Introduction

MonteCarlomethodappliedtoapproximatingthevalueofπ.Afterplacing30000randompoints,theestimateforπiswithin0.07%oftheactualvalue.

MonteCarlomethodsvary,buttendtofollowaparticularpattern:

1.Defineadomainofpossibleinputs.

2.Generateinputsrandomlyfromaprobabilitydistributionoverthedomain.

3.Performadeterministiccomputationontheinputs.

4.Aggregatetheresults.

Forexample,consideracircleinscribedinaunitsquare.Giventhatthecircleandthesquarehavearatioofareasthatisπ/4,thevalueofπcanbeapproximatedusingaMonteCarlomethod:

[4]

1.Drawasquareontheground,theninscribeacirclewithinit.

2.Uniformlyscattersomeobjectsofuniformsize(grainsofriceorsand)overthesquare.

3.Countthenumberofobjectsinsidethecircleandthetotalnumberofobjects.

4.Theratioofthetwocountsisanestimateoftheratioofthetwoareas,whichisπ/4.Multiplytheresultby4toestimateπ.

Inthisprocedurethedomainofinputsisthesquarethatcircumscribesourcircle.Wegeneraterandominputsbyscatteringgrainsoverthesquarethenperformacomputationoneachinput(testwhetheritfallswithinthecircle).Finally,weaggregatetheresultstoobtainourfinalresult,theapproximationofπ.

Ifgrainsarepurposefullydroppedintoonlythecenterofthecircle,theyarenotuniformlydistributed,soourapproximationispoor.Second,thereshouldbealargenumberofinputs.Theapproximationisgenerallypoorifonlyafewgrainsarerandomlydroppedintothewholesquare.Onaverage,theapproximationimprovesasmoregrainsaredropped.

[edit]History

BeforetheMonteCarlomethodwasdeveloped,simulationstestedapreviouslyunderstooddeterministicproblemandstatisticalsamplingwasusedtoestimateuncertaintiesinthesimulations.MonteCarlosimulationsinvertthisapproach,solvingdeterministicproblemsusingaprobabilisticanalog(seeSimulatedannealing).

AnearlyvariantoftheMonteCarlomethodcanbeseenintheBuffon'

sneedleexperiment,inwhichπcanbeestimatedbydroppingneedlesonafloormadeofparallelstripsofwood.Inthe1930s,EnricoFermifirstexperimentedwiththeMonteCarlomethodwhilestudyingneutrondiffusion,butdidnotpublishanythingonit.[3]

In1946,physicistsatLosAlamosScientificLaboratorywereinvestigatingradiationshieldingandthedistancethatneutronswouldlikelytravelthroughvariousmaterials.Despitehavingmostofthenecessarydata,suchastheaveragedistanceaneutronwouldtravelinasubstancebeforeitcollidedwithanatomicnucleus,andhowmuchenergytheneutronwaslikelytogiveofffollowingacollision,theLosAlamosphysicistswereunabletosolvetheproblemusingconventional,deterministicmathematicalmethods.StanisławUlamhadtheideaofusingrandomexperiments.Herecountshisinspirationasfollows:

ThefirstthoughtsandattemptsImadetopractice[theMonteCarloMethod]weresuggestedbyaquestionwhichoccurredtomein1946asIwasconvalescingfromanillnessandplayingsolitaires.ThequestionwaswhatarethechancesthataCanfieldsolitairelaidoutwith52cardswillcomeoutsuccessfully?

Afterspendingalotoftimetryingtoestimatethembypurecombinatorialcalculations,Iwonderedwhetheramorepracticalmethodthan"

abstractthinking"

mightnotbetolayitoutsayonehundredtimesandsimplyobserveandcountthenumberofsuccessfulplays.Thiswasalreadypossibletoenvisagewiththebeginningoftheneweraoffastcomputers,andIimmediatelythoughtofproblemsofneutrondiffusionandotherquestionsofmathematicalphysics,andmoregenerallyhowtochangeprocessesdescribedbycertaindifferentialequationsintoanequivalentforminterpretableasasuccessionofrandomoperations.Later[in1946],IdescribedtheideatoJohnvonNeumann,andwebegantoplanactualcalculations.

–StanisławUlam[5]

Beingsecret,theworkofvonNeumannandUlamrequiredacodename.VonNeumannchosethenameMonteCarlo.ThenamereferstotheMonteCarloCasinoinMonacowhereUlam'

sunclewouldborrowmoneytogamble.[1][6][7]Usinglistsof"

truly"

randomrandomnumberswasextremelyslow,butvonNeumanndevelopedawaytocalculatepseudorandomnumbers,usingthemiddle-squaremethod.Thoughthismethodhasbeencriticizedascrude,vonNeumannwasawareofthis:

hejustifieditasbeingfasterthananyothermethodathisdisposal,andalsonotedthatwhenitwentawryitdidsoobviously,unlikemethodsthatcouldbesubtlyincorrect.

MonteCarlomethodswerecentraltothesimulationsrequiredfortheManhattanProject,thoughseverelylimitedbythecomputationaltoolsatthetime.Inthe1950stheywereusedatLosAlamosforearlyworkrelatingtothedevelopmentofthehydrogenbomb,andbecamepopularizedinthefieldsofphysics,physicalchemistry,andoperationsresearch.TheRandCorporationandtheU.S.AirForceweretwoofthemajororganizationsresponsibleforfundinganddisseminatinginformationonMonteCarlomethodsduringthistime,andtheybegantofindawideapplicationinmanydifferentfields.

UsesofMonteCarlomethodsrequirelargeamountsofrandomnumbers,anditwastheirusethatspurredthedevelopmentofpseudorandomnumbergenerators,whichwerefarquickertousethanthetablesofrandomnumbersthathadbeenpreviouslyusedforstatisticalsampling.

[edit]Definitions

ThereisnoconsensusonhowMonteCarloshouldbedefined.Forexample,Ripley[8]definesmostprobabilisticmodelingasstochasticsimulation,withMonteCarlobeingreservedforMonteCarlointegrationandMonteCarlostatisticaltests.Sawilowsky[9]distinguishesbetweenasimulation,aMonteCarlomethod,andaMonteCarlosimulation:

asimulationisafictitiousrepresentationofreality,aMonteCarlomethodisatechniquethatcanbeusedtosolveamathematicalorstatisticalproblem,andaMonteCarlosimulationusesrepeatedsamplingtodeterminethepropertiesofsomephenomenon(orbehavior).Examples:

∙Simulation:

Drawingonepseudo-randomuniformvariablefromtheinterval[0,1]canbeusedtosimulatethetossingofacoin:

Ifthevalueislessthanorequalto0.50designatetheoutcomeasheads,butifthevalueisgreaterthan0.50designatetheoutcomeastails.Thisisasimulation,butnotaMonteCarlosimulation.

∙MonteCarlomethod:

Theareaofanirregularfigureinscribedinaunitsquarecanbedeterminedbythrowingdartsatthesquareandcomputingtheratioofhitswithintheirregularfiguretothetotalnumberofdartsthrown.ThisisaMonteCarlomethodofdeterminingarea,butnotasimulation.

∙MonteCarlosimulation:

Drawingalargenumberofpseudo-randomuniformvariablesfromtheinterval[0,1],andassigningvalueslessthanorequalto0.50asheadsandgreaterthan0.50astails,isaMonteCarlosimulationofthebehaviorofrepeatedlytossingacoin.

KalosandWhitlock[4]pointoutthatsuchdistinctionsarenotalwayseasytomaintain.Forexample,theemissionofradiationfro

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高中教育 > 语文

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1