Modeling motion as an equation