How is the acceleration of a moving object determined?