4.8.23 · D3 · HinglishNumerical Methods

Worked examplesModified Euler (Heun's method)

2,345 words11 min read↑ Read in English

4.8.23 · D3 · Maths › Numerical Methods › Modified Euler (Heun's method)

Yeh note har tarah ke problems ka tour hai jo Heun's method mein aa sakte hain — flat starts, decreasing solutions, bade steps, multi-step marches, iterated correctors, aur exam twists. Pehle answer guess karo, phir dekho kaise nikalta hai.

Shuru karne se pehle, ek hi formula hai jis par poore page mein rely karenge (jo parent note mein scratch se banaya gaya hai):


Scenario matrix

Is method mein jo bhi problem aa sakti hai woh in cells mein se kisi ek mein hogi. Neeche ke examples mein cell(s) label kiye gaye hain.

# Case class Kya special hai Example
A Positive growing slope , curve upar bend karta hai Ex 1
B Zero start-slope , Euler freeze ho jaata Ex 2
C Negative / decaying slope , curve neeche bend karta hai Ex 3
D Large step bada → predictor bahut door, robustness test karta hai Ex 4
E Multi-step march Recipe repeat karo, ko next step mein daalo Ex 5
F Iterated corrector Output ko recycle karo implicit equation solve karne ke liye Ex 6
G Real-world word problem Units, real duniya mein cooling Ex 7
H Exam twist: sirf par depend karta hai Heun pure Trapezoidal Rule mein collapse ho jaata hai Ex 8

Hum har cell cover karenge. Koi bhi scenario chhupaaya nahi jaayega.


Ex 1 — Cell A: positive growing slope

Figure — Modified Euler (Heun's method)

Ex 2 — Cell B: zero start-slope

Figure — Modified Euler (Heun's method)

Ex 3 — Cell C: negative decaying slope


Ex 4 — Cell D: large step


Ex 5 — Cell E: multi-step march


Ex 6 — Cell F: iterated corrector


Ex 7 — Cell G: real-world word problem (units!)


Ex 8 — Cell H: exam twist — sirf par depend karta hai


Recall Har example ne kaunsa cell cover kiya?

Kaunsa example prove karta hai ki Heun = Trapezoidal Rule jab mein koi nahi? ::: Ex 8 (Cell H). Kaunsa example dikhata hai ki bada step error blow up karta hai? ::: Ex 4 (Cell D), aur Ex 7 ki cooling bhi. Kaunse example mein zero start-slope hai jo plain Euler ko freeze kar deta? ::: Ex 2 (Cell B). Kaunsa example multiple steps aage march karta hai? ::: Ex 5 (Cell E), ke do steps. Kaunsa example corrector ko iterate karta hai? ::: Ex 6 (Cell F).


Connections

  • Modified Euler (Heun's method) — woh parent recipe jo har example apply karta hai.
  • Euler's Method — har example mein predictor step.
  • Trapezoidal Rule — Ex 8 mein literally Heun hai.
  • Order of Accuracy and Step Size — Ex 4 vs Ex 5 explain karta hai (bada vs chhota ).
  • Predictor-Corrector Methods — Ex 6 ka iterated corrector.
  • Runge-Kutta Methods — har example secretly RK2 hai.