[Playlisten] [Impressum und Datenschutzerklärung]

Error of the Forward Euler Method, LTE


CC-BY-NC-SA 3.0

Tempo:

Anklickbares Transkript:

pronounwant to look at the arrow that the forward on the method makes it each stepthis is called the localtruncationarrow critical dextranratherstraightforwardto be looking at it again I'm consideringthe differential equations of classical mechanicsfor simplicityjust in pronoun dimensionthederivativeof the position with respect to time is the cityderivativeof the velocitywith respect to time isfor us depending on positionI'm not looking at for spendingon velocitiesare directly depending on timeeasily incorporate thatall the housethis comes from Newton saying that foreseesresponse times accelerationand accelerationis the derivative of velocity with respect to timeif you solve this numeric key in the infectionthis is precisely what the forward all the methodswhich dodoing pronoun forward on the stepdefines the time by slightincrementsby step sizepronoun want to computethe positionafter that stepthis call that X twofrom the position befallen standards call that X numberison equal there's some slightincrementsin this step sizeH times the velocitystartthis is what will assess what we should be doingtake the originalignition positionand involves that position by the time that's causingduring the step times the velocity at the beginningsimilarlyfor velocityphilosophy after that step isfor thislossstep size times the rate of change of velocity which is the forcehouseatX1again be taking the forceat the start ofthe visible fee would be computingthis is what should be doingX X solvingdeterminer differential equationwould be actually shooting with the forward on thistons of stepsof this sort Monson the positionon scene the arrow or that I'm making hereis called the localtruncation arrowarrowpronoun single stepis called the ACEallthe localtruncationarrowandwhetherthe questionhow large or how small is that Al Gorepronoun want to have an ideaabout the arrow that I'm introducingdo pronoun have to use determiner smaller step size can pronoun get away with the largest of sizesof dust that depend on the Mas on the forceon my carbon velocitywhateveryou can figure that outto be saying that because I'm lazyI'm working in pronoun dimensionthere's determiner slightchangeto betaken care of working more than pronoun dimensionpronoun mentioned that as pronoun gothat's it is red curve is the exactsolutionof my differential equationthe function of about approximateusingnumericsusing default ondoknowthe positionatthe startof my steptime T onethiswould beexcellentpronoun want to know what the positionis the end of that steptime T tothis is what pronoun would like to knowthis is not X to X two was on numerical approximationthis will beactsof timeT tothe exact solution is twenty two the friends of T two and T onestep size stageand all we can try and come up with someapproximationsfor this dotted linethe value of X this time T tofirst of all what RTMwould simply be excellentthe value that we started withand then pronoun can make use of the slowcurveif I'm at the tensionssosay this new line is the tensionsto the rest exact curveas timeT onethan the nextbest approximationfor this videothe X pronoun classthisrulingyearand to get that from the derivativeyou know the slope of the tangentthe slope of the tangentis the derivativeof Xwe knowthis lack of this right trianglethat stagesothe site has determiner link offderivativeST numbertimesageand he can do even betterinstead of using the linewe can use determiner parabolathen the nextadditionto all approximationthe secondderivativefunctionST numbertimes age script over tothis man look really crazy why should that be determiner scratch over toif you look at these you would be saying the next logical thing to be doing would be askedsecond derivativetimes age scriptwhy should we be including this tothe ideas the following pronoun want to construct determiner parabolathat has the same where you seemslow in the same second derivativeis the originalred curve has asked T onethis component ensures that pronoun have the right ways you equalto zeropronoun got the right value for thethis component ensures that pronoun have the right slopeof the first derivativeexpectsto HSage equal to zerorightslowand this timeensuresthat Godright coverture so to speakif you found the second derivative of that staryou have to have the secondderivativeof that risk of ST number five the second derivativeage scriptfirst regards to age and then becomes tothose two tools Kansasso this too stems from forming the second derivative of age script with respect to agethis constructionis called Taylor expansionin what ways does the followingthe exactvalueof XST toafter the stepisX numberplus what you get from the first derivativedotsof T onetimes step size class will get determiner second derivativederivativeof X with respect to time at the start of the stick timesage script over twoplusit's easy to imagine if you continue that to get something to age to the power and so onwe see that under the rock and sayorder ofage to the powerif you want to get out this is called London oh oh symbolso pronoun got determiner nice expression for the position after the stepthere are somethings in here that you don't know yetactuallydo knowthe first derivativeX with respect to time start is of course nothing but the velocity was startingthe secondderivativeof X with respect to timeat the startis the first derivativeof the velocitythe first derivative of the velocityis the forcethat points overranthe force at that initial point X of T oneorso that looks pretty handythis is something we can computeyou do not know much about thisauto face to the power to youbut all of these can be computedthe initial positioninitial velocitystep sizeforceat the initial positionover the mosque times step size script over to all of these can be computedwe can do the same type of Taylor expansionfor the velocityis pretty easy to see how that looks like the exact value of the velocityshould be the better youbeforethe stepSosnoffcauses the derivativeof the velocityat the starttimes the step sizeplus the secondderivativeof the velocityat the start times step size creates over two plusagain something of the order of age to ourthe derivativeof the velocity with respect to timethat's the accelerationwe do know thatfor so comma so this is the forceat the initial positionof the mousethis pronoun here is determiner little trickysecondderivativeof the velocitywith respect to timetodo this pronoun more closelythe second derivativeof velocity with respect to time that provided like thatfirst the relative of the velocityand then pronoun found the derivativeof that derivativepronoun do know something about the first derivativethat's the accelerationand pronoun know what accelerationis the force depending on the positionmustanalyzethe functionforcethe defense on another functionthe position that depends on timethis cries outlawed for the chainfirst found out derivativefalse over Mosssopreventiveforustimesin the derivativeX thoughtsderivativeof X with respect to Tand we do know what next thought is simply the velocityis it working in more than pronoun dimension this gets trickyis not just the space recordedXthere's also determiner whydo you seeso you have to follow several derivativeshere off the force vectorthis ends up being determiner metricsand this would be the product of metricstimes of vectoranothercaveatif the force depends on time directlynot just to the positionbut if there's someoscillatingpie for instancethe forcewould have to havenotthe component in here in our situation does all gotwhich means that this Tomquestion markJohn eat foodsspatialderivativeof the forceat the initial positionMosstimesthe initial velocityso also this can be computed from the data regarding oursimulationwe can look at those two equationsand try to decipherwhat their meaning is X1plusthree number times agethis is pronounforward on the step four Xthe pronoun plus the force at the start divided by himthis is the forward are listed so what you got youris the forward on thiswill be cut here on the left-hand side is the exact residesso this remaindermust be the ourthis is the local truncation eraof the forward are limitedto you can put numbers to thatgiventhe force given the mosqueand given thespatialderivative of the forcethe initial velocityand so on you canget determiner pretty good estimateof the local truncationbefore all of you seethat this is of the order H Squareand if you look closelyyou see determiner way to improve the forward are limitedlet's use what we know from the forward on the method butthis pronoun the force at the initial positionover Moss times determiner script over toand similar here that prettycomplicatedterm in the endsthen he got determiner method that has determiner local truncationof audit H to the powerthis is calledTaylor seriousto make this tea is off toof coursethis improvementdoesn't come for freeyou have to compute the spatial derivativeforce