Seam carving is an algorithm for content-aware resizing of an image. This notebook presents the algorithm and tries to provide some insight into its workings.

Making a neural network from scratch and training the network using a dataset from scikit-learn.

Julia has to some degree already cemented itself in the scientific community, and will most likely continue to expand in the coming years. It aims at taking the middle ground between Python on one side, and Fortran and C++ on the other. In this notebook we offer a quick introduction for those who wish to venture from Python to Julia.

basic, quantum computers, cat states

Uses the qiskit framework to run basic quantum circuits, both locally and on real quantum computers.

The Bak-Sneppen model of evolution is a simple model describing the evolution of an ecosystem. It offers a surprising amount of insight given its simplicity. This notebook does not deep dive into the model, but illustrates the basics using the Julia programming language.

euler, differential equation, euler explicit method, set of odes, basic

A thorough walkthrough of the theoretical aspects of Euler's method. Also covers how to solve higher order ODEs.

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.

explicit euler method, ode, implementation, basic

Basic notebook covering how to implement Euler's method, without much focus on theory

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.

spin, hemmer, eigenenergy, eigenstate, schrödinger equation, waves

Solving the time independent Schrödinger equation in one dimension using matrix diagonalisation for five different potentials.

explicit euler method, 4th order runge-kutta, ode, Big Bertha, set of odes

Computing the trajectory of a projectile moving through the air, subject to wind and air drag.

Solving the Friedmann equations to model the expansion of our universe.

space, einstein, gravity, 4th order runge-kutta, angular momentum, fortran, ode, extrapolation, f2py

animation, differential equation, Lagrangian, Euler-Lagrange equations, chaos, phase space, odeint

Discusses the chaotic motion of the double pendulum using a phase-space diagram

interpolation, sparse matrix, chebychev nodes, curve fitting, system of equations, runge's phenomenon

Uses cubic splines to interpolate a given set of data points

Solving the one-dimensional stationary heat equation with a Gaussian heat source by approximating the solution as a sum of Lagrange polynomials.

polymer, hemmer, hansen, lennard-jones potential, sparse matrix, nygård, elasticity

Simulates the disentanglement of a polymer from a surface using an increasing electric field

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.

simpson's method, newton, euler, eigenvalue, poisson's equation, integration, interpolation

Analyzing sloshing using a numerical approach based on a linear model, which reduces the problem to a Steklov eigenvalue problem.

newton, lagrange, interpolation, chebychev nodes, runges phenomenon

Using polynomial interpolation to interpolate a set of points and to approximate a function or a curve.

explicit euler method, 4th order runge-kutta, embedded runge-kutta pair, trapezoidal method, ode

Solving a first-order ordinary differential equation using Runge-Kutta methods with adaptive step sizes.

explicit euler method, 4th order runge-kutta, ode

Solving a first-order ordinary differential equation using the Runge-Kutta method.

Solving a first-order ordinary differential equation using the implicit Euler method (backward Euler method).

Solving a second-order ordinary differential equation (Newton's second law) using Verlet integration.

explicit euler method, lennard-jones potential

A simple physical model that approximates the interaction between a pair of neutral atoms or molecules.