The course consists of: Introduction to computational astrophysics. The N-body problem. Numerical algorithms. Smoothed Particle Hydrodynamics (SPH). Numerical solution of partial differential equations within astrophysics. Realistic simulation of the solar system as a N-body problem. Numerical solution of an one-dimensional system of fluid dynamics (shock tube) with SPH. Simulation of planetary collisions using SPH.