To get things cleared, are you asking what would be the API to give the position as a function of time and get the velocity and acceleration post differentiation? Or similarly, given velocity, find position and acceleration.