Approximation of functions¶
Contents:
- Approximation of functions
 - Approximation of vectors
 - Approximation of functions
- The least squares method
 - The projection (or Galerkin) method
 - Example: linear approximation
 - Implementation of the least squares method
 - Perfect approximation
 - Ill-conditioning
 - Fourier series
 - Orthogonal basis functions
 - Numerical computations
 - The interpolation (or collocation) method
 - The regression method
 - Lagrange polynomials
 
 - Finite element basis functions
- Elements and nodes
 - The basis functions
 - Example on piecewise quadratic finite element functions
 - Example on piecewise linear finite element functions
 - Example on piecewise cubic finite element basis functions
 - Calculating the linear system
 - Assembly of elementwise computations
 - Mapping to a reference element
 - Example: Integration over a reference element
 
 - Implementation
 - Comparison of finite element and finite difference approximations
 - A generalized element concept
 - Numerical integration
 - Approximation of functions in 2D
 - Finite elements in 2D and 3D
 - Exercises
- Problem 1: Linear algebra refresher
 - Problem 2: Approximate a three-dimensional vector in a plane
 - Problem 3: Approximate a parabola by a sine
 - Problem 4: Approximate the exponential function by power functions
 - Problem 5: Approximate the sine function by power functions
 - Problem 6: Approximate a steep function by sines
 - Problem 7: Approximate a steep function by sines with boundary adjustment
 - Exercise 8: Fourier series as a least squares approximation
 - Problem 9: Approximate a steep function by Lagrange polynomials
 - Problem 10: Approximate a steep function by Lagrange polynomials and regression
 - Problem 11: Define nodes and elements
 - Problem 12: Define vertices, cells, and dof maps
 - Problem 13: Construct matrix sparsity patterns
 - Problem 14: Perform symbolic finite element computations
 - Problem 15: Approximate a steep function by P1 and P2 elements
 - Problem 16: Approximate a steep function by P3 and P4 elements
 - Exercise 17: Investigate the approximation error in finite elements
 - Problem 18: Approximate a step function by finite elements
 - Exercise 19: 2D approximation with orthogonal functions
 - Exercise 20: Use the Trapezoidal rule and P1 elements
 - Exercise 21: Compare P1 elements and interpolation
 - Exercise 22: Implement 3D computations with global basis functions
 - Exercise 23: Use Simpson’s rule and P2 elements
 
 - Bibliography
 
            