Content deleted Content added
No edit summary |
Salix alba (talk | contribs) m Reverted edits by 68.180.84.152 (talk) to last version by 49.147.115.222 |
||
Line 12:
==Description==
Where the solution curve is concave up, its tangent line will underestimate the vertical coordinate of the next point and vice versa for a concave down solution. The ideal prediction line would hit the curve at its next predicted point. In reality, there is no way to know whether the solution is concave-up or
Heun’s Method addresses this problem by considering the interval spanned by the tangent line segment as a whole. Taking a concave-up example, the left tangent prediction line underestimates the slope of the curve for the entire width of the interval from the current point to the next predicted point. If the tangent
<ref>{{cite web
|title=Numerical Methods for Solving Differential Equations
Line 22:
|archiveurl=https://web.archive.org/web/20090212005921/http://calculuslab.deltacollege.edu/ODE/7-C-2/7-C-2-h.html
|archivedate=2009-02-12}}</ref>
The points along the tangent line of the left end point have vertical coordinates which all underestimate those that lie on the solution curve, including the right end point of the interval under consideration. The solution is to make the slope greater by some amount. Heun’s Method considers the tangent lines to the solution curve at ''both'' ends of the interval, one which ''overestimates'', and one which ''underestimates'' the ideal
[[File:Heun's Method Diagram.jpg|thumb|right|alt=Heun's Method.|A diagram depicting the use of Heun's method to find a less erroneous prediction when compared to the lower order Euler's Method]]
Euler’s Method is used to roughly estimate the coordinates of the next point in the solution, and with this knowledge, the original estimate is re-predicted or ''corrected''.<ref>
Line 47:
:<math>x_{i+1} = x_i + h</math>, <math>\textstyle y_{i+1} = y_i + \Delta y</math>
:<math>y_{i+1} = y_i + h \text{Slope}_{\text{ideal}}</math>
:<math>y_{i+1} = y_{i} + \frac{1}{2} h (\
:<math>y_{i+1} = y_{i} + \frac{h}{2}(f(x_i, y_i) + f(x_i + h, y_i + hf(x_i, y_i)))</math>
Line 56:
|publisher=LiveToad.org
|url=http://livetoad.org/Courses/Documents/214a/Notes/euler-heun_method.pdf
}}</ref> The scheme can be compared with the [[Explicit and implicit methods|implicit]] [[trapezoidal method]], but with <math>f(t_{i+1},y_{i+1})</math> replaced by <math>f(t_{i+1},\tilde{y}_{i+1})</math> in order to make it explicit. <math>\tilde{y}_{i+1}</math> is the result of one step of [[Euler's method]] on the same initial value problem. So, Heun's method is a [[
==Runge–Kutta method==
Line 71:
|}
The other method referred to as
{{Citation | last1=Leader | first1=Jeffery J.| title=Numerical Analysis and Scientific Computation | publisher=[[Addison-Wesley]] | ___location=Boston | isbn=0-201-73499-0 | year=2004}}.</ref>
|