Python, Mathematics, Physics, Simulation, Differential Equations.
compute [θ(t), θ’(t)] for any t starting with known initial conditions. Fortunately, there is a way to compute θ(t+dt): All right! With that equation in hand we can also compute the angle at time t+dt given the angle and the angular velocity at time t. Using these two equations we can now compute