powered by
Cycle discounting
disc_cycle( lcldr = 0.035, lclprvtime = 0, cyclelength, lclcurtime, lclval, starttime = 0 )
Double based on cycle discounting
The discount rate
The time of the previous event in the simulation
The cycle length
The time of the current event in the simulation
The value to be discounted
The start time for accrual of cycle costs (if not 0)
disc_cycle(lcldr=0.035, lclprvtime=0, cyclelength=1/12, lclcurtime=2, lclval=500,starttime=0)
Run the code above in your browser using DataLab