Course Instructor : Professor Kirti Ranjan >Profile<
As per our university syllabus, "This Lab course is designed to develop computer programming skills (primarily C/C++ based) for implementing advanced numerical methods like Interpolation, Solution of Linear Equations, Monte Carlo Methods, Curve-Fitting techniques etc. Throughout the semester work on a project oriented problem based on developing algorithm for any generalized numerical method which may be related with any of the topics covered in theory classes."
We have been advised to follow the book Numerical Analysis Richard L Burden and J Douglas Faires and to practice the problems we are getting assignments every week and here I'll commit the programs once I successfully compile and get the desired output after the submission deadline ofcourse.
-
Assignment 01 : Matrices
-
Assignment 02 : Integration
-
Assignment 03 : Interpolation and Polynomial Approximation
-
Assignment 04 : Direct Methods for Solving Linear Systems
-
Assignment 05 : Cubic Spline Interpolation
-
Assignment 06 : Least Square Fitting
-
Assignment 07 : Random Number Generation
- All in one (PDF)
- Source codes
- Class Work March 18 : Monte Carlo Simulation for Pi in pdf and Source codes.
-
Assignment 08 : Monte Carlo Applicaions
All the linux distributers have git installed in their system so they simply paste the following code in their terminal to get a local copy in your system.
git clone https://github.com/singhnir/DU-MSc-Phy-ANT-Lab.git
Normally no windows has git preinstalled so previous command doesn't work on it but again you can download a zip copy of the codes clicking here.
- Text Editor (Atom/Sublime...)
- GCC Compiler
- Gnuplot
- DU-MSc-Lab-C-Prog : This is my another similiar repository for the subject Computational Physics (Lab) - Course Code: PH-CL502 which I have completed in my M.Sc. Physics Semester: III course from University of Delhi.
- Numerical Methods in C Language : Since all of my previous repositories were specific problem oriented hence I decided to rewrite the program more in a general way so that everyone can use them wihout any hesitation.
- Lotka Volterra Population Dynamics : As for my project I've worked on Lotka Volterra Population Dynamics where I tried to control the population of prey so that the number of prey remains approximately constant prey using a small numbers of predators.
If you've any doubt or suggestions regarding the project, please feel free to reach out by filing an issue here on github or you can simply email me at nirsingh124@gmail.com. You can also drop a message to my Telegram account.
I would like to thank Ayushi Lamba for sharing her progam whenever needed, Meetesh Joshi for actively engaging in troubleshooting almost every problem and Pritam Chakarborty for tiresomely listening all of my stupid doubts.
arrays, matrices, matrix operations, integration, trapezoidal rule, simpson's rule, gauss quadrature, bisection method, secant method, interpolation, lagrange method neville method, interpolation and polynomial approximation, linear system of equations, gauss elimination method, gauss elimination with chopping rounding and pivoting strategy, gauss jordan, inverse of a matrix, cubic splines, clamped splines, least square fitting, polynomial fitting, chi-square test, chi-square minimization, random numbers, uniform distribution, frequency distribution, monte-carlo simulation, value of pi, area of circle, statistical mean and standard deviation,inverse transformation, acceptance rejection method, 1-D random walk, 2-D random walk, lotka volterra model.