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, 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.

Electromagnetism 3

  Uniform Magnetic Field

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.

  Quadrupole Mass Spectrometer

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

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

  Electric fields and potentials from point charges

magnetism, electricity, 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, 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.

Electromagnetism 1

  Resistor Network

resistance, voltage

Calculating the total current propagating through a resistor network.