Modeling Dynamic Allocation of Effort in a Sequential Task Using Discounting Models