I would like to model compound interest where in each period part of the existing capital can be used to increase the annual interest rate. At first I tried to model this in a way such that in each step the optimal amount of capital would be used to increase the rate, but the equations quickly became exceedingly complex, so now I am trying to model the case where a percentage is fixed beforehand and in each period that percentage of capital is used to increase the rate, so
$x[t]:=x[t-1]*(1+\frac{r+ab\sum_{i=0}^{t-1} x[i]}{t_{max}})-bx[t-1]$
where $x[k]$ is the amount of capital at step $k$, $r$ is the initial rate, $a$ is some parameter regulating the efficiency with which capital can be converted into increase of interest rate, $b$ is the percentage of capital used at each step to increase the annual rate and $t_{max}$ is the amount of periods in a year, which I would ideally like to use to derive the continuous formula afterwards. Can anyone solve this?
