4.8.23 · D1 · HinglishNumerical Methods

FoundationsModified Euler (Heun's method)

1,943 words9 min read↑ Read in English

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

Is page pe assume kiya gaya hai ki tumne kuch nahi dekha. Yahan tak ki padhne se pehle, hume iska har ek piece banana hoga. Hum slow chalenge, ek ek symbol pe, aur har naya symbol tabhi aayega jab uski simple-words mein meaning aur ek picture ho jaaye.


1. Points, functions, aur ka picture

Figure 1 dekho. Horizontal chalk line -axis hai (travel ki gayi distance). Vertical chalk line -axis hai (height). Curve bas har position pe tumhari height ka record hai — ek path.

Figure — Modified Euler (Heun's method)

Topic ko ki zaroorat kyun hai, sirf kyun nahi? Kyunki sahi agla direction dono pe depend kar sakta hai — tum kahan ho aur kitne upar ho. Ek jagah par hill ki steepness tumhari altitude ke hisaab se badal sakti hai, isliye machine ko dono inputs chahiye.


2. Slope: sabse important picture

Figure 2 dekho. Tangent line ke neeche chhote right triangle mein ek horizontal leg hai (run) aur ek vertical leg hai (rise). Slope .

Figure — Modified Euler (Heun's method)

Sign cases jo tumhe yaad hone chahiye:

  • Slope → curve upar ja rahi hai (uphill).
  • Slope → curve momentarily flat hai (ek peak, valley, ya plateau).
  • Slope → curve neeche ja rahi hai (downhill).

Parent note ke Example 2 mein, start slope tha — exactly zero, matlab curve start se flat nikalta hai phir neeche jhukta hai. Yeh "slope " case ka real example hai.


3. Derivative aur symbol

Topic ko "instant pe slope" ke liye special symbol kyun chahiye? Kyunki curve ka slope point se point pe badalta hai. Ek bade run pe rise-over-run ek average deta hai; derivative ek exact jagah ka slope deta hai, jo next step aim karne ke liye chahiye.


4. Differential equation aur initial condition

Figure 3 dekho: bahut saari candidate curves slope rule share karti hain (pale chalk), lekin sirf woh jo marked anchor point (yellow dot) se guzarti hai woh humari solution hai.

Figure — Modified Euler (Heun's method)

5. Step size aur next point


6. Integral sign — tiny pieces add karna

Topic ko integral kyun chahiye? Kyunki slope rule sirf instantaneous directions deta hai; actual height recover karne ke liye tumhe un saari directions ko step mein accumulate karna hoga. Tiny pieces accumulate karna is integration. Euler aur Heun ke beech ka fark bas is ek sum ko estimate karne ke alag shortcuts hain — dekho Euler's Method (left-rectangle) versus Trapezoidal Rule (dono ends ka average).


7. Predictor / corrector labels


Prerequisite map

Points x and y on axes

Slope rise over run

Derivative dy dx equals y prime

Slope rule dy dx equals f x y

Machine f x y outputs a slope

Initial condition y at x0 equals y0

Step size h and next point x1 y1

Integral sums tiny rises

Two slopes k1 and k2 predictor

Heun method average of slopes


Equipment checklist

Khud test karo — right side cover karo.

kya measure karta hai aur kya measure karta hai?
= road pe position; = us position pe ground ke upar height.
Machine kya output deti hai?
Ek single number — position , height pe path ka slope.
Slope ko simple words mein define karo.
Rise over run — jab tum thoda sa right step karo toh tum kitna upar jaate ho.
Curve pe slope kaisa dikhta hai?
Path momentarily flat hai (ek peak, valley, ya plateau).
ka kya matlab hai aur yeh se kaise related hai?
Dono ek hi cheez hain — ek exact point pe ka slope.
ko words mein padho.
Path ka slope woh number hona chahiye jo rule current spot pe deta hai.
Initial condition kyun chahiye?
Slope rule akele infinitely many parallel curves allow karta hai; anchor ek sach wali path choose karta hai.
kya hain?
Start position, start height, next position , aur step size (horizontal jump).
kya compute karta hai?
Step mein height ka total change — saare tiny rises ka sum.
kya hai aur yeh "provisional" kyun hai?
Ek sasta Euler guess end height ka, sirf end-slope padhne ke liye banaya; correct karne ke baad discard ho jaata hai.
aur kya hain?
Start ka slope aur predicted end ka slope; Heun in dono ke average se chalta hai.

Connections

  • Euler's Method — predictor step aur §6 ka left-rectangle idea banata hai.
  • Trapezoidal Rule — §6–§7 ka "dono ends ka average" integral shortcut.
  • Order of Accuracy and Step Size — step size kya trade off karta hai.
  • Predictor-Corrector Methods — jahan milke kaam aate hain.
  • Runge-Kutta Methods — Heun as the two-slope RK2.
  • Taylor Series Methods — derivative expansions accuracy kaise certify karte hain.