You can run the notebooks in the browser
You can see a listing of all the notebooks on colab via this url
https://colab.research.google.com/github/cpraveen/na
The following links only allow you to view the notebooks.
- Sensitivity of polynomial roots
- Parasitic solution: roots of a non-linear equation
- Unstable iterations, C version
- Solving ODE, stable and unstable iterations
- Store 1/10 and print it to see the conversion of real number to floating number
- Demonstration of unit round
- Example of overflow error
- Example of overflow error and how to avoid it
- Errors due to subtracting nearly equal quantities, C version, C++ version
- Errors due to subtracting nearly equal quantities
- Precision: evaluating polynomial
- Bisection method
- Bisection method: implemented as a function
- Newton method
- Newton method: abs and rel tolerance
- Newton method: square root
- Newton method: reciprocal, slow convergence
- Newton method: complex root
- Newton method for system of equations
- Secant method
- Finite difference approximation
- Complex finite difference approximation
- Fixed point iterations
- Newton method: double root
- Root finding by homotopy method
- Condition number of Vandermonde matrix
- Using polyfit and polyval to construct polynomial approximation
- Interpolate cos(x) on uniform points
- Runge phenomenon
- Interpolate abs(x) on uniform points
- Behavior of function in polynomial interpolation error: uniform points
- Chebyshev polynomials
- Behavior of function in polynomial interpolation error: uniform vs Chebyshev points
- Roots of Chebyshev polynomial
- Chebyshev points of second kind
- Barycentric Lagrange interpolation: general point distribution
- Barycentric Lagrange interpolation: Chebyshev points
- Minimax approximation of abs(x)
- Adaptive piecewise linear interpolation Matlab, Python
- Cubic spline interpolation
- Gibbs oscillations in polynomial interpolation
- Trigonometric interpolation: Matlab, Python
- Composite trapezoidal rule
- Composite corrected trapezoidal rule
- Composite trapezoidal rule using Scipy
- Composite Simpson rule
- Trapezoid and Simpson rule
- Trapezoid rule when f'' is not finite
- Gauss quadrature using Scipy
- Trapezoidal vs Gauss quadrature of sqrt(x)
- Gauss quadrature of sqrt(x-0.5)
- Trapezoidal vs Gauss quadrature for periodic function
- Gauss-Laguerre quadrature
- Adaptive Simpson quadrature
- Forward Euler
- Forward Euler: Error convergence
- Trapezoidal method
- Instability of multi-step method
- Forward/backward Euler: Stability
- Forward Euler: Stability
- Absolute stability domains of AB, AM, BDF schemes
- Stiff ODE
- Stiff ODE: Forward Euler with variable step
- Stiff ODE system: Theta scheme
- ODE with periodic solution, quadratic invariant
- Non-linear BVP using shooting method
- Non-linear BVP using finite difference method
- LU decomposition
- LU decomposition with row pivoting
- Thomas tri-diagonal method for 1-d BVP
- Classical iterative methods for 1-D BVP: Gauss-Jacobi, Gauss-Seidel, SOR
- Classical iterative methods for 2-D BVP: Gauss-Jacobi, Gauss-Seidel, SOR
- QR algorithm
- Conjugate gradient method for 1-D BVP
- Conjugate gradient method for 2-D BVP
Codes prepared for a course on numerical Linear Algebra can be seen here