This repository contains Python 3 implementations of various numerical methods.
- Interpolation - has 1D & 2D interpolation methods
- Numerical Integration - has trapezoidal, simpsons, and gauss laguerre integration methods
- Numerical Differentiation - has euler forward/backward methods
- ODE Solvers - solves ODEs numerically through trapezoid, predictor-corrector, RK2, RK4 schemes
- Fourier Transform - 2d fft in numpy (used below)
- Spectral Methods - solutions for diffusion equ)ation, wave equation, and schrodinger's equation using spectral methods
- Finite Difference Methods - solutions for diffusion equation, wave equation, burger's equation, and a quantum simple harmonic oscillator using FD methods
- Root-finding Methods - bisection, secant, newton-raphson, and shooting methods
The Notes file contains theoretical proofs and details regarding all these algorithms. All of this code was written as part of the course on computational physics at IIT Kanpur.