one dimensional Algorithm

In classical mechanics, space and time are different category and refer to absolute space and time. They may be parameter spaces or configuration spaces such as in Lagrangian or Hamiltonian mechanics; these are abstract spaces, independent of the physical space we live in.

one dimensional source code, pseudocode and analysis