📘 Comprehensive Numerical Methods Cheat Sheet
✅ 1. Euler’s Method (1st Order ODE)
Purpose: Solve initial value problems (IVPs) of the form:
Formula:
Key Elements:
Step Size (h): Determines accuracy (smaller = better precision).
Local Truncation Error: .
Global Error: (first-order method).
Limitation: Poor accuracy for nonlinear or stiff equations.
✅ 2. Modified Euler’s Method (Predictor-Corrector)
Purpose: Improved accuracy over Euler’s method.
Steps:
Predictor (Euler’s Step):
Corrector (Trapezoidal Rule):
Key Elements:
Error: local, global.
Advantage: Balances simplicity and accuracy.
✅ 3. Runge-Kutta 2nd Order (RK-2)
Variants: Midpoint Method or Heun’s Method.
General Form:
Midpoint Method:
Heun’s Method:
Key Elements:
Error: local, global.
Use Case: Moderate accuracy requirements.
✅ 4. Runge-Kutta 4th Order (RK-4)
Purpose: High-precision solution for IVPs.
Slopes:
Update:
Key Elements:
Error: local, global.
Applications: Aerospace, physics simulations.
✅ 5. Newton’s Forward Interpolation
Purpose: Estimate values near the start of equally spaced data.
Formula:
where , and is the forward difference operator.
Key Elements:
Forward Differences:
, , etc.Use Case: Extrapolation near .
✅ 6. Newton’s Backward Interpolation
Purpose: Estimate values near the end of equally spaced data.
Formula:
where , and is the backward difference operator.
Key Elements:
Backward Differences:
, , etc.Use Case: Extrapolation near .
✅ 7. Classification of 2nd Order PDEs
General Form:
Discriminant ():
Classification:
Elliptic (): Boundary value problems (e.g., Laplace’s equation ).
Parabolic (): Initial value problems (e.g., Heat equation ).
Hyperbolic (): Wave propagation (e.g., Wave equation ).
✅ 8. Bender-Schmidt Method (Parabolic PDEs)
Purpose: Solve the 1D heat equation:
Explicit Formula:
where .
Key Elements:
Stability Condition: .
Grid Spacing: (space step), (time step).
Limitation: Conditionally stable.
📌 Summary of Errors & Orders
Method | Local Error | Global Error |
---|---|---|
Euler’s | ||
Modified Euler | ||
RK-2 | ||
RK-4 |
🎯 When to Use Which?
Quick Estimate: Euler’s Method.
Balanced Accuracy-Speed: RK-2 or Modified Euler.
High Precision: RK-4.
Interpolation: Newton’s Forward/Backward.
PDEs: Bender-Schmidt for parabolic, classification guides solver choice.
Post a Comment