This directory contains the codes, methods and assignments taught in course P346 Computational physics lab 2021 in NISER Bhubaneswar.
The codes require minimum use of python libraries serve the purpose of basic start to computational methods in physics and maths.
To run the codes, you require the file "CPL_Library.ipynb". This file contains all the functions required code buts to execute the assignmants. Importing may require different ssytem requirements. This assignmnet pavkage uses inline run for the library functions.
-
Assignment 1 : Basic algebra to get handy with python.
-
Assignment 2 : Introduction to matrix algebra.
-
Assignment 3 : Gauss-Jordan elimination method to find the solutuions of matrices.
-
Assignment 4 : LU decompoition using Crout's and Doolittle's method and Cholesky decomposition to find the solutuions of matrices.
-
Assignment 5 : Root finding algorithms using Bisection, Regula-Falsi and Newton-Raphson methods.
-
Assignment 6 : Numerical integration using midpoint, trapezoidal and Simpson's method.
-
Assignment 7 : Solvng ODE using forward Euler, backward Euler, Runge-Kutta 4 and shooting method of solving ODEs.
-
Exams folder : Questions and attempted solutions of the midterm and endterm exams.
-
Project : Term project report and code on Adaptive quadrature.
-
Study materials : Notes and Materials used in class.
For any queries, contact chandankumar.sahu@niser.ac.in