Repository of collaborative coursework for FYS3150-Computational Physics at the University of Oslo. The course covers methods for numerically solving a wide range of mathematical problems in physics. There are a total of five projects, which are outlined below. Each project folder contains the source code and a report.
Thomas algorithm and LU decomposition to solve a second order differential equation.
Recasting second order differential equations into matrix equations to solve the given eigenvalue problems with the Jacobi algorithm.
Simulation of the solar system by solving coupled ordinary differential equations.
Studies of phase transitions in magnetic systems; Conducting Monte Carlo simulations of the 2D Ising model using the Metropolis-Hastings algorithm to generate samples.
Numerical Studies of the SIRS model (disease); Use of both the fourth-order runge-kutta method (RK4) and monte-carlo sampling (MC) to simulate how a disease would spread among an isolated population consisting of three groups (states): susceptible (S), infected (I) and recovered (R).