Minecraft wiki entry for Entity, associated text: Drag applied before acceleration:
Drag applied after acceleration[note 1][note 4]:
Note: initialVelocity and finalVelocity are in blocks/tick, and acceleration is in blocks/tick^2.