I am trying to make a simulation of a vibrating string. The string is divided into $n$ points, and each point along the string is acted upon by a force due to the positioning of its neighbors.
I eventually have to update both velocity due to acceleration, and position due to velocity at each point, but the two are dependent on each other.
Is there a physically correct order in which to update position and velocity?