Text this: Dynamics of a particle and of rigid bodies