The goal of a numerical optimization problem is to find a vector of values that minimizes some cost function. The most fundamental example is minimizing the Sphere Function f(x0, x1, .. xn) = x0^2 + ...
Find the forces on the object. Find the new momentum (based on the force and the small time interval) Find the new position (based on the velocity and time interval). Simple. And it even works most of ...