PPolySim OS

Equations & Models

The equations that describe reality — explained, and many of them runnable live in your browser.

Navier–Stokes Equations

LIVE

ρ(∂u/∂t + u·∇u) = −∇p + μ∇²u + f

The fundamental equations of viscous fluid motion.

Lorenz System

LIVE

ẋ=σ(y−x), ẏ=x(ρ−z)−y, ż=xy−βz

A three-variable model that birthed chaos theory.

SIR Model

LIVE

dS/dt=−βSI, dI/dt=βSI−γI, dR/dt=γI

The compartmental model of infectious-disease spread.

Lotka–Volterra Equations

LIVE

dx/dt=αx−βxy, dy/dt=δxy−γy

Predator–prey population oscillations.

Schrödinger Equation

iħ ∂ψ/∂t = Ĥψ

The governing equation of quantum states.

Heat Equation

LIVE

∂u/∂t = α∇²u

Diffusion of heat through a medium.

Wave Equation

∂²u/∂t² = c²∇²u

Propagation of waves at speed c.

Maxwell's Equations

∇·E=ρ/ε₀, ∇·B=0, ∇×E=−∂B/∂t, ∇×B=μ₀J+μ₀ε₀∂E/∂t

The unified laws of electromagnetism.

Gray–Scott Model

LIVE

∂u/∂t=Dᵤ∇²u−uv²+F(1−u), ∂v/∂t=D_v∇²v+uv²−(F+k)v

A reaction–diffusion system that forms Turing patterns.

Newton's Second Law

LIVE

F = ma

Force equals mass times acceleration.

Law of Universal Gravitation

LIVE

F = G m₁m₂ / r²

The gravitational attraction between masses.

Van der Pol Oscillator

LIVE

ẍ − μ(1−x²)ẋ + x = 0

A self-sustaining oscillator with a limit cycle.

Black–Scholes Equation

∂V/∂t + ½σ²S²∂²V/∂S² + rS∂V/∂S − rV = 0

The PDE for pricing options.

Poisson Equation

∇²φ = −ρ/ε

Relates a potential to its source.

Diffusion Equation (Fick's Second Law)

LIVE

∂c/∂t = D∇²c

How concentration spreads by diffusion.

Bernoulli's Equation

LIVE

p + ½ρv² + ρgh = const

Energy conservation along a streamline.

Logistic Map

LIVE

xₙ₊₁ = r xₙ(1 − xₙ)

A simple map that routes to chaos.

Damped Harmonic Oscillator

LIVE

mẍ + cẋ + kx = 0

Oscillation with energy loss.

Continuity Equation

LIVE

∂ρ/∂t + ∇·(ρu) = 0

Conservation of mass in a flow.

Michaelis–Menten Kinetics

v = Vmax[S] / (Km + [S])

The rate law for enzyme-catalyzed reactions.