4.8.28 · D3 · HinglishNumerical Methods

Worked examplesBoundary value problems — shooting method, finite difference

2,862 words13 min read↑ Read in English

4.8.28 · D3 · Maths › Numerical Methods › Boundary value problems — shooting method, finite difference

Shuru karne se pehle, ek self-contained toolkit — neeche use hone waale har symbol ki definition yahan di gayi hai.

Do aur words jinhe hum baar baar use karte hain:

  • Interior node: ek grid point jo strictly do ends ke beech ho — jinhe hume solve karna hota hai. Ends pehle se diye hote hain.
  • Residual: humara current answer rule ko satisfy karne se kitna door hai. Shooting ke liye yeh hai : humari shot jahan aakar giri aur bucket ke beech ka gap.

Scenario matrix

Cell Kya cheez alag hai Example
A. Linear + shooting seedhi line hai → 2 shots mein exact Ex 1
B. Nonlinear + shooting curved hai → secant iterate karna padega Ex 2
C. Linear FDM, symmetric tridiagonal, koi convection nahi Ex 3
D. Linear FDM, asymmetric off-diagonals (convection) Ex 4
E. Degenerate grid () sirf EK interior node → single equation Ex 3 ke andar
F. Limiting case: refine check karo ki error girti hai ( halve → error) Ex 5
G. Sign check: kis taraf aakar gire? overshoot vs undershoot, negative residual Ex 6
H. Real-world word problem heated rod, units, physical read-off Ex 7
I. Exam twist: derivative (Neumann) boundary diya gaya hai, nahi → ghost node Ex 8

Har method-cell (A–I) neeche kam se kam ek baar hit hoti hai.


Ex 1 — Cell A: Linear shooting, do shots mein exact


Ex 2 — Cell B: Nonlinear shooting, secant ko iterate karna hi padega


Ex 3 — Cells C & E: Linear FDM, , degenerate single node


Ex 4 — Cell D: Convection ke saath Linear FDM


Ex 5 — Cell F: Limiting refinement, error


Ex 6 — Cell G: Residual ka sign (over/undershoot)

Figure — Boundary value problems — shooting method, finite difference

Figure: ke liye teen shooting attempts, sabhi left end se launch ki gayi hain. Magenta curve (slope ) flat rehti hai aur navy dashed "bucket" line se neeche khatam hoti hai — undershoot. Violet curve (slope ) steeply upar jaati hai aur bucket se upar khatam hoti hai — overshoot. Orange curve (slope ) exactly bucket par land karti hai. Residual ka sign seedha picture se padho: dashed line ke neeche ⇒ , upar ⇒ , us par ⇒ .


Ex 7 — Cell H: Real-world word problem (heated rod)


Ex 8 — Cell I: Exam twist, ek derivative (Neumann) boundary


Recall Rapid self-test

Kaun sa matrix cell iteration maangta hai even though shooting use ho rahi hai? ::: Cell B — nonlinear ODE ko curved banata hai. Negative residual ka matlab hai hum shot... ::: short (target se undershoot kar gaye). Central-difference FDM mein halve karne se error roughly... ::: factor se change hoti hai (yeh hai). Neumann boundary diye hone par, hum kya add karte hain? ::: ek ghost node plus slope ke liye central-difference equation. hone par lower off-diagonal upper se bada kyun hota hai? ::: convection term lower mein add hoti hai, upper se subtract hoti hai.