Search: magnetism

7 results

Electromagnetism 1

  Magnetic Mirror

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.

Statistical Mechanics 1

  Equilibrium Monte Carlo simulation of the 2D Ising model

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.

Electromagnetism 3

  Uniform Magnetic Field

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.

  Quadrupole Mass Spectrometer

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

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

  Electric fields and potentials from point charges

electricity, magnetism, coulomb

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

Statistical Mechanics 1

  Ising Model in 1D and 2D

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.

Electromagnetism 1

  Resistor Network

resistance, voltage

Calculating the total current propagating through a resistor network.