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

Computes the precession of Mercury by linear extrapolation.

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

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

animation, ode, explicit euler method

Simulates the simple pendulum and damped simple pendulum

differential equation, ode, gravity, newton, 4th order runge-kutta, einstein, angular momentum, space

Discussion of orbits in the Schwarzschild Geometry.

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

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

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

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

chebychev nodes, newton, interpolation, lagrange, runges phenomenon

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

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

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

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

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 first-order ordinary differential equation with Euler's 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.