Loading
Standard Euler's method suffers from slope drift. Modified Euler's Method (Heun's Method) predicts a trial step, calculates the destination slope, and averages both slopes for 2nd-order accuracy!
Given the differential equation:
Find the value of using step size and 2 corrector iterations!
Evaluate starting slope and project trial endpoint:
1st Corrector: Evaluate slope at trial point :
2nd Corrector: Re-evaluate slope at updated point :
With 2 corrector iterations, Modified Euler's method improves accuracy from 1.10000 (standard Euler) to 1.11050 (exact: )!
Giving the predicted value as the answer.
Working out the second slope at the old x.
Using h instead of h/2 in the corrector.
Not updating the second slope between corrections.
Correcting forever.
Writing only the final answer.
Add this calculator to a new note, next to your own working. It stays live: change the numbers there any time.