Simulate chaotic systems, attractors, and bifurcation.
Nonlinear dynamical systems exhibit sensitive dependence on initial conditions. The Logistic Map \(x_{n+1} = r x_n(1 - x_n)\) models population growth with resource constraints; as \(r\) increases from 1 to 4, it undergoes period-doubling bifurcations at ratios governed by the universal Feigenbaum constant \(\delta \approx 4.6692016\). The 3D Lorenz attractor (\(\dot{x} = \sigma(y-x), \dot{y} = x(\rho-z)-y, \dot{z} = xy-\beta z\)) generates a strange attractor with non-integer fractal Hausdorff dimension.
dx/dt = σ(y−x)
dy/dt = x(ρ−z)−y
dz/dt = xy−βz
xₙ₊₁ = r · xₙ · (1 − xₙ)
The Bifurcation diagram shows the route to chaos.