Numerical Methods for Physics Problems
- UE code SPHYM123
-
Schedule
15 15Quarter 1
- ECTS Credits 3
-
Language
French
- Teacher Mayer Alexandre
The course aims at comforting the application of numerical techniques to problems that are typical of both experimental and theoretical physics. The different methods presented for these problems are demonstrated in class and used in computer-lab sessions.
Working with gfortran
Fortran 90 : advanced notions
Representation of numerical data
Resolution of systems of linear equations
Appendix : the LAPACK library
Appendix : Octave (MATLAB)
Interpolation methods
Linear interpolation, parabolic interpolation, polynom of Lagrange
Interpolation by spline functions
Interpolation in multiple dimensions
Appendix : the Numerical Recipes
Appendix : interpolation with Octave
Numerical Derivatives
Asymmetric and symmetric formulas for a first derivative
Romberg's algorithm
Symmetric formula for a second derivative
N-points formulas for arbitrary-order derivatives
Numerical Quadratures
Trapezoidal rule, Simpson's rule
Generalized Simpson formulas
Adaptative Quadratures (quanc8)
Gauss' method
Appendix : integration with Octave
Linear adjustements
Least squares method
Generalized linear adjustments by a SVD decomposition
Optimization methods
Minimization in one dimension (golden search)
Minimization in several dimensions (gradient descend, conjugate gradient)
Monte Carlo method (simulated annealing)
Genetic Algorithms
Appendix : optimization with Octave
Integration of differential equations
Euler's method, multi-step method, predictor-corrector method, Runge-Kutta method
Fourth-order Runge-Kutta method (rkf45)
Appendix : integration of differential equations with Octave
Exercises consist in writting computer programs in Fortran 90 in order to solve typical problems in Physics.
Classes are given using a video-projector and a board for additional developments.
The exam consists of a written exam on the theoretical course (14 points). The practical sessions count for 6 points. Failing the theory exam has an absorbing effect on the final note.
W.H. Press, S.A. Teukolsky, W.T. Vetterling and B.P. Flannery, Numerical Recipes in Fortran, 2nd edition, Cambridge University Press (Cambridge, 1992).
| Training | Study programme | Block | Credits | Mandatory |
|---|---|---|---|---|
| Master in Physics | Finalité spécialisée en physique du vivant | 1 | 3 | No |
| Master in Physics | Finalité approfondie | 1 | 3 | No |
| Master in Physics | Standard | 1 | 3 | No |
| Master in Physics | Finalité didactique | 1 | 3 | No |
| Master in Physics | Finalité spécialisée en physique et data | 1 | 3 | No |
| Master in Physics | Finalité spécialisée en physique du vivant | 2 | 3 | No |
| Master in Physics | Finalité approfondie | 2 | 3 | No |
| Master in Physics | Finalité didactique | 2 | 3 | No |
| Master in Physics | Finalité spécialisée en physique et data | 2 | 3 | No |