quiz8 -...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Writeanduploadthescriptdescribedbelowtotheclasswebsite.Inorderto receivefullcredit,yourscriptmusthaveproperformatting,run,andgivethe correctoutput. IntroductiontoComputationalPhysics Phy265Quiz8(TakeHome) Due12:40p.m.April8,2011 SunspotsonthesurfaceoftheSun ForcenturiespeoplehavenoticedthatthefaceoftheSunisnotconstantoruniform inappearance,butthatdarkerregionsappearatrandomlocationsonacyclical basis.Weatherandothereconomicallysignificantterrestrialphenomenahavebeen foundtocorrelatewiththisactivity.In1848,RudolfWolferproposedarulethat combinedthenumberandsizeofthesesunspotsintoasingleindex.Usingarchival records,astronomershaveappliedWolfer'sruletodeterminesunspotactivityback totheyear1700.Today,manyastronomersmeasurethesunspotindexandthe worldwidedistributionofthedataiscoordinatedbytheSolarInfluencesData CenterattheRoyalObservatoryofBelgium. WriteaMATLABscriptfilethatusesthefastFouriertransformroutineffttoanalyze theWolferindextodeterminethesunspotcycle.Todothis,firstimportthedatain sunspot.datthatIsenttoyou(asanemailattachment)intoMATLABusingthe MATLABroutineload.Remember,loadisabletoimportanasciifileintoMATLAB asanarray.Column1ofsunspot.datgivestheyear.Column2givestheWolfer index.Thefilecontainssunspotdatafrom1700to1987.Yourscriptshouldoutput threeplots:(1)WolferIndex(yaxis)vs.Year(xaxis),(2)outputofthefftinthe formofAmplitude(yaxis)vs.frequency(xaxis),and(3)outputofthefftinthe formofAmplitude(yaxis)vs.period(xaxis).Finally,printthesunspotcyclein yearstothreesignificantfiguresonyourgraph.Besuretolabeltheaxesofyour plotsandprovidetitles. ...
View Full Document

This note was uploaded on 02/23/2012 for the course PHYSICS 265 taught by Professor Tegler during the Spring '11 term at N. Arizona.

Ask a homework question - tutors are online