You would cogitate because you were trying to remember a fact or solve a problem.