damianjilk2 / Deterministic-Radiation-Transport-Approximations

Damian Jilk's EP Thesis
MIT License
1 stars 0 forks source link

Learn about numerical integration #37

Closed damianjilk2 closed 1 week ago

damianjilk2 commented 3 weeks ago

Review research articles and books to get a better understanding of different applications of common numerical integration tools.

damianjilk2 commented 3 weeks ago

Finished reading through Numerical Methods by Robert Hornbeck.

Synopsis of chapter 8:

damianjilk2 commented 2 weeks ago

Introduction to Numerical Analysis by F.B. Hildebrand (second edition):

Error analysis can be quite complicated. There are many considerations to make when rounding an infinite sig fig number and depending on your tolerance, your approximation might be significantly hindered by this rounding.

Chapter 4: Finite-difference Interpolation Finite-difference interpolation is used to estimate values of a function at points where it is not explicitly known. It leverages known values of a function at discrete points to construct an interpolating polynomial.

Forward difference -- Del f(x_i) = f(x_i+1) - f(x_i) Backward difference -- nabla f(x_i) = f(x_i) - f(x_i-1) Central difference -- del f(x_i) = 1/2 * (f(x_i+1) - f(x_i-1))

Special formulas like Stirling's, Bessel's, and Everett's are used for more efficient computation and/or higher accuracy.

The technique used should be based on the data distribution and desired accuracy. Precomputed tables enhance efficiency and reduce error.

Chapter 5: Operations with Finite Differences Euler-Maclaurin Sum Formula connects summation and integration. There are many variations of this and can lead to simplifications such as the trapezoidal rule and the repeated midpoint rule. image

Chapter 6: Numerical Solution of Differential Equations Open-type -- domain extends beyond the range of the data Closed-type -- data points at the beginning and end of the limits of integration are known

Simplest procedure is Euler's method: y_n+1 = y_n + h*f(x_n,y_n) More complicated equations such as the Adams-Bashforth method where several levels of differences are calculated and considered when computing the value in question.

Runge-Kutta method. There are variations such as order 2 and order 4. Here is one variation of this formula and performs far better than Euler's method for complicated functions. image

Chapter 8: Gaussian Quadrature and Related Topics Gaussian quadrature is a numerical method for approximating integrals using weighted sums at specific points (abscissas). Hermite interpolation -- polynomial interpolation that includes both function values and derivate values at selected points. Legendre-Gauss quadrature - a type of Gaussian quadrature using Legendre polynomials as basis functions. Laguerre-Gauss quadrature - uses Laguerre polynomials and their roots. Effective for integrals involving exponential weight functions. Hermite-Gauss quadrature - Hermite polynomials and their roots with Gaussian weight functions.

Formulas with preassigned abscissas:

damianjilk2 commented 2 weeks ago

An Introduction to Numerical Analysis by Endre Süli and David Mayers:

Chapter 2: Solution of Systems of Linear Equations

Chapter 7 and 10: Numerical Integration

Chapter 12 and 13: Initial Value problems and Boundary Value Problems for ODEs

Chapter 14: The Finite Element Method

damianjilk2 commented 2 weeks ago

Numerical Linear Algebra by Lloyd N. Trefethen and David Bau III:

Part 2: QR Factorization and Least Squares

Part 3: Conditioning and Stability

Part 4: Systems of Equations

Part 6: Iterative Methods