embedded runge-kutta pair, integration, set of odes

The trajectory of a charged particle propagating in a non-uniform magnetic field is calculated by solving the Lorentz force law using an embedded Runge-Kutta pair. The results show that the particle is mirrored.

magnetism, spin, monte carlo, fortran, f2py, metropolis, equilibrium, autocorrelation, ising

Using the Metropolis algorithm to approximate the magnetization and specific heat for a 2D Ising lattice.

magnetism, explicit euler method, ode, Lorentz' law

Solving Lorentz force law for a charged particle traveling in a uniform magnetic field using Euler's method.

magnetism, 4th order runge-kutta, voltage, electricity

Using numerical tools to describe and analyse a quadrupole mass spectrometer.

magnetism, electricity, coulomb

Calculates and plots the electric fields and potentials around an arbitrary number of point charges.

specific heat, magnetism, partition function, spin

Computing the internal energy, specific heat and magnetisation in the 1D and 2D Ising model. An analytical solution to the XY model is also provided.

Calculating the total current propagating through a resistor network.