Computational Methods for Physics & Astronomy
Book version at:
https://restrepo.github.io/ComputationalMethods
by: Sebastian Bustamante 2014/2015 Diego Restrepo ** 2017/...
This course is intended for students of Astronomy and Physics at the Universidad de Antioquia and will cover some numerical methods commonly used in science and specially in astronomy. These topics will be addressed from a formal context but also keeping a practical and computational approach, illustrating many useful applications in problems of physics and astronomy.
The practical component will be almost entirely developed in Python and slightly less in C (when computational performance is required). However students with knowledge in other programming languages (except privative languages like MatLab, Mathematica) are also aimed to use them.
In this repository it can be found all the related material of the course, including the detailed program, notes and presentations, examples (ipython notebooks) and homeworks. (This repository may be subject to changes continuously as the course advances).
SYLLABUS: detailed description of the program of the course, including a brief motivation and presentation, topics to be covered, evaluation and bibliography.
Contents
1. Python (1 week)
Topics
- Overview of python
- Basic scripting
- Implementation of scientific libraries
- Plotting with matplotlib
- Ipython notebooks
Activities
- Activity 01: Solve the problems in the section Exercises.
2. Mathematical Preliminaries (1 week)
Topics
3. One Variable Equations (2 weeks)
Topics
4. Interpolation Techniques (2 weeks)
Topics
5. Numerical Calculus (2 weeks)
Topics
- Numerical differentiation
- Numerical integration
- Composite numerical integration
- Adaptive quadrature methods
- Improper integrals
Activities
- Activity: Derivative exercise
6. Linear Algebra (2 weeks)
Topics
- Linear systems of equations
- Gaussian elimination
- Pivoting strategies
- Matrix inversion
- Determinant of a Matrix
- LU factorization
7. Differential Equations (2 weeks)
Topics
8. Statistics (1 week)
Topics