When the acceleration varies

When the acceleration changes with time the constant-acceleration equations fail, so we integrate $a(t)$ directly, fixing each constant of integration with the starting velocity and position.

From AP Physics C: Mechanics.