Python codes for computational physics. This repository was created when I was working as teaching aid for computational physics course at NITS. It contains codes for solving numerical methods in python language.
- Newton's Interpolation
- Lagrange Interpolation
- Getting Polynomial through Newton's and Lagrange Interpolation.
- Linear Regression.
- Polynomial Curve Fitting.
- Curve fitting using python built-in functions.
- Finite Difference Method.
- Differentation using built-in functions.
- Gauss Elimination Method
- Diagonal Dominance.
- Jacobi's Method
- Gauss-Seidel's Method
- Gauss-Jordan Method
- Simple pyramid.
- Centred Pyramid.
- Square pattern of stars.
- Downward Half Pyramid.
- Full Downward Pyramid.