In classical mechanics, the movement of a particle (or system of particles) is completely determined by the Lagrangian L ( q , q ˙ ˙ , t ) or equivalently the Hamiltonian H ( q , p , t ) , a function of the generalized coordinates q, generalized velocities q ˙ ˙ = d q / d t and its conjugate momenta :