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, metropolis, equilibrium, autocorrelation, ising, monte carlo, spin, fortran, f2py

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

magnetism, Lorentz' law, ode, explicit euler method

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

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

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

electricity, magnetism, coulomb

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

specific heat, partition function, magnetism, 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.