PYTHON · NUMPY
Energy, and why integrators drift

Live ferromotion-wasm: the same frictionless pendulum under explicit vs symplectic Euler. Watch explicit Euler manufacture energy while the structure-preserving integrator conserves it.

You read

the arrays and values already in scope

You change

the code you write in each cell

Fixed

the dataset and the checks that grade you