The difference between the maximum and minimum value of the function \[ f(x) = \int_{0}^{x} (t^2 + t + 1)\, dt \] on the interval \[ [2, 3] \] is: