Sem-I, CC-1 Lab (Hons) 2018
Question Paper: Sem-I PHYH-C I: MATHEMATICAL PHYSICS-I Lab (on C/C++ programming)- July-Dec 2017
[{Page1} [Page 2]]
Lecture Notes
- Introduction and Overview[here]
- Basics of Scientific computing[here]
- Errors
- Sorting of list of numbers and Search
- Random Numbers
- Finding roots of Algebraic & Transcendental equation
- Interpolation
- Numerical Differentiation and Integration
- Solve Differential Equations
PHYH-C I LAB: B.Sc 1st Semester, 2017 The source codes
- Introduction to numerical methods
- Review of C and C++ programming
- Sum, averages, Sorting, Binary search
- Random numbers and its usefulness
- Root finding: Bisection, Newton Raphson and Secant method
- Interpolation: How to fit data with functions/straight lines/curves
- Numerical differentiation
- Integration: Trapezoidal, Simpson, Monte Carlo
Any question about the slides and codes, please talk to me in the class and/or write to me in somenath.jalal@gmail.com
Comments:
All the lecture slides are updated.
Date: May-11, 2018
===================================================
Things Covered and not covered in this semester:
Date: 16 Dec, 2017
We know how to find root of an equation.
We know how to solve 1st order and 2nd order differential equation.
Used random numbers to calculate value of π
We can integrate a regular well behaved non-singular function between given range. Of course single variable integration we have done. Surface integral and volume integral could be done by Monte Carlo method. But we have not covered those things in the class.
Monte Carlo method codes for doing integration is not covered. Neither codes not lectures. Preliminary idea about Random numbers are told to the students.
Interpolation codes are not given. Lectures and algorithm delivered in the class.
Binary search code is not given. Algorithm discussed in the lecture.
Numerical differentiation code is not given. Discussed detailed in class.